Commit Graph

4 Commits

Author SHA1 Message Date
Holger Brunn
4aaa2bc385 [FIX] skip tests if there's no COA 2020-04-22 09:34:49 +02:00
Laurent Mignon (ACSONE)
6798374e80 [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
2019-09-09 11:32:52 +02:00
Pedro M. Baeza
9ca9ef343d [MIG] account_payment_sale: Adapt tests to v12 2018-12-13 16:13:37 +01:00
mpanarin
cb1ebadcc0 [IMP] account_payment_sale: Add tests to increase coverage 2018-12-13 16:13:37 +01:00