Commit Graph

6 Commits

Author SHA1 Message Date
josep-tecnativa
79d4b90df5 [IMP] account_payment_sale: test performance improvement
- Create setUpClass method
- Include context keys for avoiding mail operations overhead.
2024-09-19 10:43:10 +02:00
manu
7fbb6b5d6a [MIG]account_payment_sale: Migration to 15.0 2022-12-07 15:34:47 +05:30
Raf Ven
ee54904589 [IMP] account_payment_sale: black, isort 2022-12-07 15:34:47 +05:30
Laurent Mignon (ACSONE)
c946c442ac [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
2022-12-07 15:34:47 +05:30
Pedro M. Baeza
c864c942d3 [MIG] account_payment_sale: Adapt tests to v12 2022-12-07 15:34:47 +05:30
mpanarin
2a8c6c5a69 [IMP] account_payment_sale: Add tests to increase coverage 2022-12-07 15:34:47 +05:30