Commit Graph

16 Commits

Author SHA1 Message Date
Jordi Ballester
b95b767a5b add tests and small fixes 2017-11-07 15:12:12 +01:00
etobella
e322814034 [MIG] account_payment_partner 2017-11-07 14:04:07 +01:00
Pedro M. Baeza
697d7cc08f [FIX] account_banking_mandate/account_payment_partner: Signature changed in convert_to_write 2017-11-07 14:04:07 +01:00
Pedro M. Baeza
9d5589ed16 [IMP] account_payment_partner: Fill payment mode in invoices if none is provided
Using same method as in upstream, payment mode is filled on invoice creation if
no payment method is provided. This way, we don't need to install
account_payment_sale if we don't want to handle several payment modes at sales
level. Even more, if we install the module later and we have already existing
sales orders without payment mode filled, those orders will be invoiced with
the customer payment mode.
2017-11-07 14:04:07 +01:00
Alexis de Lattre
bede87269e Port almost all modules to v10 (#305)
Port almost all modules to v10

* Update to EPC Rulebook v9.2 that start to apply on 2016-11-20 (bug #300)
2017-11-07 14:04:07 +01:00
Alexis de Lattre
aad52940a9 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-07 14:04:07 +01:00
Alexis de Lattre
d169c353a5 Better handling of partner_bank_id and mandate_id on invoice: invisible/required/onchange 2017-11-07 14:04:07 +01:00
Alexis de Lattre
cedc216e7b 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-07 14:04:07 +01:00
Alexis de Lattre
21a0319f8e 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-07 14:04:07 +01:00
Alexis de Lattre
edf1034336 Copy payment mode and mandate from invoice to refund
Run dos2unix on the few files that had DOS carriage return
2017-11-07 14:04:07 +01:00
Alexis de Lattre
2a4390625b 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-07 14:04:07 +01:00
Pedro M. Baeza
79f0dead55 [IMP] *: Short headers 2017-11-07 14:04:07 +01:00
Pedro M. Baeza
1019d61282 [FIX] account_payment_sale_stock: Split for removing stock dependency on sale
[DEL] Remove old translations templates
[IMP] More reorder on folder structure
2017-11-07 14:04:07 +01:00
Pedro M. Baeza
2f38eb692f [IMP] Replace deprecated workflow calls 2017-11-07 14:04:07 +01:00
Pedro M. Baeza
db8f504ea8 Clean files 2017-11-07 14:04:07 +01:00
Pedro M. Baeza
348371ae7a [MIG] Migration and enhancement of all modules involved in SEPA 2017-11-07 14:04:07 +01:00