Commit Graph

19 Commits

Author SHA1 Message Date
Alexis de Lattre
0e64b0295a 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
2016-06-14 22:25:23 +02:00
Alexis de Lattre
8ebdcd0200 Simpler variable names
Rename method
2016-06-06 15:57:36 +02:00
Alexis de Lattre
b5588d9052 Add the bank_line as argument to some methods that generate SEPA XML 2016-06-06 14:05:43 +02:00
Alexis de Lattre
e885be0e12 Add local instrucment in PmtInfId to warranty unicity 2016-06-06 11:46:08 +02:00
Alexis de Lattre
c6f0f5c805 Merge branch '9-sorrento-code-sprint' of github.com:akretion/banking into 9-sorrento-code-sprint 2016-06-05 00:45:12 +02:00
Alexis de Lattre
b094ad5da8 Add field local_instrument in payment lines and bank payment lines 2016-06-05 00:44:27 +02:00
Stéphane Bidoul
d476de0b5d pep8 long line 2016-06-04 14:50:04 +02:00
Alexis de Lattre
7370d174f0 Adds flexibility to support direct debit direct debit for switzerland (pain.008.001.02.ch.01)
Implement SEPA Core recommandations for postal address
2016-06-03 22:58:07 +02:00
Alexis de Lattre
ebf6741c16 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
2016-06-02 23:58:02 +02:00
Alexis de Lattre
4e6261a9b1 Move fields mandate_required and export_ascii from payment mode to payment method
Display chatter on payment orders
Several small usability improvements
2016-05-10 23:16:31 +02:00
Alexis de Lattre
b0c10a708d Add support for non-SEPA DD and CT without without IBANs 2016-05-09 23:23:43 +02:00
Alexis de Lattre
bee3093841 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
2016-04-30 01:46:34 +02:00
Antonio Espinosa
77fdbbfcea [IMP] Define SEPA identifiers per payment mode 2016-03-04 18:33:07 +01:00
Alexis de Lattre
86e30ee718 Fix flake8 warnings 2015-06-02 11:39:30 +02:00
Alexis de Lattre
6d55b29523 Use attachments instead of creating a specific object for each kind of payment order 2015-06-01 16:18:53 +02:00
Alexandre Fayolle
f21049a942 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.
2015-03-25 09:11:12 +01:00
Julien Laloux
11aeefd471 Improve code 2015-01-28 10:13:23 +01:00
Julien Laloux
dc43a9504c Fix an error when no payment_order_ids 2015-01-28 09:53:38 +01:00
Pedro M. Baeza
aa54c740ca [MIG] Migration and enhancement of all modules involved in SEPA 2014-11-08 02:45:11 +01:00