Commit Graph

13 Commits

Author SHA1 Message Date
Vladimir Mitreski
7c03b78437 [FIX] account_payment_purchase: Make payment method to require bank account
Without this fix, the partner_bank_id was being reset to False on change of 'company_id'
in the _onchange_purchase_auto_complete method in account.move in the following unit test:
def test_from_purchase_order_invoicing_bank

That's because in commit 9be9766535 we switched to
getting payment method from env.ref('account.account_payment_method_manual_out'), which has
bank_account_required == False by default, while before that we were creating payment method for
which we were explicitly setting bank_account_required as True

Also tag unit test as post_install
2022-08-17 09:51:17 +03:00
Koen Loodts
5881a40f29 [MIG] account_payment_purchase: Migration to 15.0 2022-08-16 16:21:32 +03:00
Jordi Ballester
8b62598d4e [account_payment_purchase][fix] Only warn for non-blank payment mode or bank PO
- Only issue a warning message if the PO had a non-blank payment mode or bank.
2022-08-16 16:21:32 +03:00
Carlos Roca
495615a268 [MIG] account_payment_purchase: Migration to v14 2022-08-16 16:21:31 +03:00
Andrea
feb5639e1d Split account_payment_purchase (add account_payment_purchase_stock) 2022-08-16 16:21:31 +03:00
mreficent
8d2dd00846 [MIG] account_payment_purchase: Migration to 13.0 2022-08-16 16:21:31 +03:00
mreficent
b05a9b3ca2 [IMP] account_payment_purchase: black, isort 2022-08-16 16:21:31 +03:00
Nikul-Chaudhary
52bbf4b4e2 [MIG] account_payment_purchase v11 to v12 2022-08-16 16:21:31 +03:00
cubells
96e8b486d4 account_payment_purchase: Migration to 11.0 2022-08-16 16:21:31 +03:00
Abranes
386c7dc196 account_payment_purchase: Migration to 10.0 2022-08-16 16:21:31 +03:00
cubells
ea0b527b40 account_payment_purchase module 2022-08-16 16:21:31 +03:00
Alexis de Lattre
5ca71af1e3 Remove module account_payment_purchase 2022-08-16 16:21:31 +03:00
Pedro M. Baeza
90f805d03a account_payment_purchase: Propagate payment_mode on MTO/drop shipping 2022-08-16 16:21:31 +03:00