Commit Graph

409 Commits

Author SHA1 Message Date
Pedro M. Baeza
d22e3226af Rename manifest files 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
957abaea4e Make modules uninstallable 2017-11-22 10:50:55 +01:00
Stéphane Bidoul (ACSONE)
2763263db6 remove en.po that was erroneously created by transbot 2017-11-22 10:50:55 +01:00
OCA Transbot
5e7558302d OCA Transbot updated translations from Transifex 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
9e332376e4 Remove unused POT files 2017-11-22 10:50:55 +01:00
Alexis de Lattre
d0f782a946 Add unitest for a USD credit transfer (in EUR company) 2017-11-22 10:50:55 +01:00
Alexis de Lattre
83bcab9ecd Add unittest for SEPA direct debit 2017-11-22 10:50:55 +01:00
Alexis de Lattre
441bee1331 Better test that include several invoices (to test grouping) and refunds 2017-11-22 10:50:55 +01:00
Alexis de Lattre
1c7334ebf2 Add a unit test 2017-11-22 10:50:55 +01:00
Alexis de Lattre
981a76bf24 Enable the payment methods by default on bank journals (including existing bank journals via post_install scripts)
Enable "Generate Accounting Entries On File Upload" by default
2017-11-22 10:50:55 +01:00
Alexis de Lattre
3f09465750 Move field bank_account_required from module account_payment_partner to account_payment_mode
Make the mandate a required field on payment line when the payment method has mandate_required=True
Make the bank account a required field on payment line when the payment method has bank_account_required=True
Minor code cleanup
PEP8
2017-11-22 10:50:55 +01:00
Alexis de Lattre
15c111c53e Better handling of partner_bank_id and mandate_id on invoice: invisible/required/onchange 2017-11-22 10:50:55 +01:00
Alexis de Lattre
953b172791 Simpler variable names
Rename method
2017-11-22 10:50:55 +01:00
Alexis de Lattre
23c799a3f6 Add the bank_line as argument to some methods that generate SEPA XML 2017-11-22 10:50:55 +01:00
Alexis de Lattre
9375ced37a Add local instrucment in PmtInfId to warranty unicity 2017-11-22 10:50:55 +01:00
Alexis de Lattre
05ce1ed93b Add field local_instrument in payment lines and bank payment lines 2017-11-22 10:50:55 +01:00
Stéphane Bidoul
56f9dfec6e pep8 long line 2017-11-22 10:50:55 +01:00
Alexis de Lattre
ee18b2d4a7 Adds flexibility to support direct debit direct debit for switzerland (pain.008.001.02.ch.01)
Implement SEPA Core recommandations for postal address
2017-11-22 10:50:55 +01:00
Alexis de Lattre
82317abb92 Add hooks for l10n_ch_sepa (pain.001.001.03.ch.02)
Move code of account_banking_pain_base/models/banking_export_pain.py to account_banking_pain_base/models/account_payment_order.py
Allow cancel when payment order is in "File Generated" state
Add postal address in party block
2017-11-22 10:50:55 +01:00
Alexis de Lattre
ec41abda44 Take into accounts the remarks of Eric Caudal 2017-11-22 10:50:55 +01:00
Alexis de Lattre
0ed6c5f588 Move fields mandate_required and export_ascii from payment mode to payment method
Display chatter on payment orders
Several small usability improvements
2017-11-22 10:50:55 +01:00
Alexis de Lattre
d417b32fb8 Add support for non-SEPA DD and CT without without IBANs 2017-11-22 10:50:55 +01:00
Alexis de Lattre
d9564a0133 Add _id suffix on M2O fields customer_payment_mode and supplier_payment_mode (Odoo did the same on all the M2O property fields of res.partner) 2017-11-22 10:50:55 +01:00
Alexis de Lattre
08e4b93702 Add module account_banking_mandate_sale
Add option 'mandate_required' on payment orders
Autoselect first valid mandate on customer invoice that have a payment mode 'mandate_required' = True
Add option on select move lines to pay wizard to allow selection of litigation moves (unchecked by default), in order to integrate the feature of the module account_payment_blocking
2017-11-22 10:50:55 +01:00
Alexis de Lattre
e21045c2b1 Update and re-enable demo data 2017-11-22 10:50:55 +01:00
Alexis de Lattre
8fd479c802 Finalise the wizard of selection of move lines to pay
Add button "Add to payment/debit order" on invoice form view
Started to integrate payment transfer in account_payment_order (not finished at all though)
Various fixes/changes/improvements/...
2017-11-22 10:50:55 +01:00
Alexis de Lattre
af9874054c Start to port bank-payment to v9 (with a lot of improvements) during the Sorrento Code sprint 2016
Improvements include:
- full re-organisation of modules and big re-organisation of the code
- simplification of the code related to the fact that support for direct debit is now in t
he base module, not added by an optional module account_direct_debit (module was removed)
- new design of the wizard to select move lines to pay
- support for non-SEPA file transfer-
- support for German direct debit SEPA files (fixes bug #129)
- remove workflow of payment.order

This port to v9 is not finished... there is still a lot of work:
- finish the code of account_payment_order/wizard/account_payment_line_create.py
- port account_banking_payment_transfer and integrate it inside account_payment_order
- fix bugs
- clean-up code, remove dead code
- test in several complex scenarios
2017-11-22 10:50:55 +01:00
OCA Transbot
ea338023f9 OCA Transbot updated translations from Transifex 2017-11-22 10:50:55 +01:00
Antonio Espinosa
ee53fc8fa3 Define SEPA identifiers per payment mode 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
4c414982b9 *: es translations 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
c53566d6da *: Bump version numbers 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
01e5730574 *: Short headers 2017-11-22 10:50:55 +01:00
Alexis de Lattre
9ce860f89e Add bank.payment.lines object to allow grouping in the payments 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
47e980fd21 Make modules uninstallable 2017-11-22 10:50:55 +01:00
Stéphane Bidoul
278e019177 prefix versions with 8.0 2017-11-22 10:50:55 +01:00
unknown
5274ca1082 corrected hint on usage 2017-11-22 10:50:55 +01:00
unknown
c85bd38667 German pain.001.003.03 format 2017-11-22 10:50:55 +01:00
Stéphane Bidoul
df0afac3f4 sepa attachments migration fix
Sometimes sepa file could have been detached
from the corresponding payment order.
2017-11-22 10:50:55 +01:00
Alexis de Lattre
5de112690b Port SEPA modules to new API
Fix an important regression in account_banking_sepa_direct_debit: "Date of Last Debit" was not set any more
Proper write of date_done with account_banking_payment_export is installed without account_banking_payment_transfer
Add post-install script for date_sent on payment.order
2017-11-22 10:50:55 +01:00
Philippe Schmidt
30279d43f0 some typo corrections 2017-11-22 10:50:55 +01:00
Philippe Schmidt
31a25355e7 Add requested descriptions in an OCA README.rst file 2017-11-22 10:50:55 +01:00
Alexis de Lattre
5456698937 Remove import models from init in sepa_credit_transfer 2017-11-22 10:50:55 +01:00
Alexis de Lattre
12f019ee55 Fix flake8 warnings 2017-11-22 10:50:55 +01:00
Alexis de Lattre
59b3c8da6b Add migration scripts to move files to attachments 2017-11-22 10:50:55 +01:00
Alexis de Lattre
e4c5016dc3 Use attachments instead of creating a specific object for each kind of payment order 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
db5bd80203 Expand authors + manifest cleaning 2017-11-22 10:50:55 +01:00
Alexandre Fayolle
8e0b3e2afa protect import of external dependencies
Odoo won't install an addon if the external dependencies are not met.
However, the python modules of the addons are imported at startup, and the
lack of an external dependency for an external addon will cause a crash,
therefore the import needs to be in a try..except block.
2017-11-22 10:50:55 +01:00
Stéphane Bidoul
e0026cda62 sepa credit tfr: get BIC from bank account if not available on bank
Since the bank is optional on bank accounts and the BIC can be set
on the bank account if there is no bank, we allow the system to
get the BIC from the bank account in case it is not on the bank.

We give priority to the BIC indicated on the bank, keeping
the same behaviour with existing data where the bank BIC is
available.
2017-11-22 10:50:55 +01:00
Alexandre Fayolle
a80304dc30 Add OCA as author of OCA addons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
2017-11-22 10:50:55 +01:00
Julien Laloux
f49cd7eb97 Improve code 2017-11-22 10:50:55 +01:00