Commit Graph

9 Commits

Author SHA1 Message Date
Alexis de Lattre
f6f59e47a4 [MIG] account_payment_sale to 14.0 2020-12-24 10:33:49 +01:00
Carlos Dauden
7647d81f10 [FIX] account_payment_sale: Compatibility with account_banking_sepa_direct_debit
Steps to reproduce the problem:

- Set a payment mode with fixed journal and set the journal with bank account A.
- Create a sales order and put bank account B.
- Create invoice.
- Bank account in invoice is A instead of B.
2020-12-24 10:23:31 +01:00
Raf Ven
a16f4615c4 [MIG] account_payment_sale: Migration to 13.0 2020-12-24 10:23:31 +01:00
Raf Ven
7600ec8e84 [IMP] account_payment_sale: black, isort 2020-12-24 10:23:31 +01:00
Laurent Mignon (ACSONE)
09e2da951b [FIX] account_payment_sale: Propagate payment_mode to invoices created from a call to sale.action_invoice_create
Into the normal process of the invoice creation from a sale order by odoo, the onchange_partner is called. In some case, this call will reset the specific payment_mode and/or partner_bank_id set on the sale_order.
To fix this issue, we must override the _finalize_invoices method, take a snapshot of these values before the call to super and restore these values if these are changed.
fixes #536
2020-12-24 10:23:31 +01:00
Artem Kostyuk
4d3177fa6d [MIG] account_payment_sale: Migrate to 11.0 2020-12-24 10:23:31 +01:00
Alexis de Lattre
b9be39be40 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)
2020-12-24 10:23:31 +01:00
Alexis de Lattre
466100e03d [MIG] account_payment_sale: Migration to v9 2020-12-24 10:23:31 +01:00
Pedro M. Baeza
cb5263b6f6 [MIG] account_payment_sale: Migration to 8.0
* Migration and enhancement of all modules involved in SEPA
* Remove duplicated files
* Check if payment mode is set in the propagation
* Clean files
* account_payment_sale_stock: Split for removing stock dependency on sale
* Remove old translations templates
* Reorder on folder structure
* Translation template files
* Translations to spanish
* Use sale_ok and purchase_ok instead of tweaking payment type
* Add sale_ok and purchase_ok filters in partner/sale/purchase form views
* Use widget=selection for payment_mode_id fields
* Update demo data
2020-12-24 10:23:31 +01:00