Commit Graph

13 Commits

Author SHA1 Message Date
David Ramia
3094e7e25c [MIG] account_payment_purchase: Migration to 16.0 2023-06-01 11:26:57 +02:00
Vladimir Mitreski
6ab34e532b [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
2023-06-01 11:26:57 +02:00
Koen Loodts
ce5da9d7ef [MIG] account_payment_purchase: Migration to 15.0 2023-06-01 11:26:57 +02:00
Jordi Ballester
77a51dc034 [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.
2023-06-01 11:26:56 +02:00
Carlos Roca
ab2736c56a [MIG] account_payment_purchase: Migration to v14 2023-06-01 11:26:56 +02:00
Andrea
c450a8a8e2 Split account_payment_purchase (add account_payment_purchase_stock) 2023-06-01 11:26:55 +02:00
mreficent
b48955c943 [MIG] account_payment_purchase: Migration to 13.0 2023-06-01 11:26:55 +02:00
mreficent
9a66745752 [IMP] account_payment_purchase: black, isort 2023-06-01 11:26:55 +02:00
cubells
850663b898 account_payment_purchase: Migration to 11.0 2023-06-01 11:26:55 +02:00
Abranes
ec61427e4e account_payment_purchase: Migration to 10.0 2023-06-01 11:26:54 +02:00
cubells
090dc8440d account_payment_purchase module 2023-06-01 11:26:54 +02:00
Alexis de Lattre
b3c160823b Remove module account_payment_purchase 2023-06-01 11:26:54 +02:00
Pedro M. Baeza
6939b277fd account_payment_purchase: Propagate payment_mode on MTO/drop shipping 2023-06-01 11:26:53 +02:00