Commit Graph

12 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
Víctor Martínez
fc15c97550 [IMP] account_payment_sale: Improve tests to prevent error with pricelist_id field
Remove the pricelist_id assignment (leave the default one) because it may fail
if the user does not have the product.group_product_product_pricelist group
2024-05-17 15:35:34 +02:00
Denis Roussel
15acca47e9 [IMP] account_payment_sale: Add payment mode in invoicing grouping criteria 2024-04-03 09:38:55 +02:00
SodexisTeam
e7b4edbe58 [MIG] account_payment_sale: Migration to 16.0 2022-12-07 15:34:47 +05:30
manu
7fbb6b5d6a [MIG]account_payment_sale: Migration to 15.0 2022-12-07 15:34:47 +05:30
Pedro M. Baeza
f8f9ac888c [FIX] account_payment_sale: Adapt tests to 18489012
The expected one is to not have partner bank set, as we don't want the
invoice is printed with such bank account forced.
2022-12-07 15:34:47 +05:30
Alexis de Lattre
b78f723483 [MIG] account_payment_sale to 14.0 2022-12-07 15:34:47 +05:30
Raf Ven
6d120f5617 [MIG] account_payment_sale: Migration to 13.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