Vladimir Mitreski 8492ed9e85 [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-11-26 11:29:36 +01:00
2023-11-12 15:33:29 +01:00
2023-11-12 15:33:29 +01:00
2023-11-12 15:33:29 +01:00
2023-11-12 15:33:29 +01:00
2023-11-12 15:33:29 +01:00
2023-11-12 15:33:29 +01:00
2023-11-12 15:33:29 +01:00
2023-11-12 15:33:29 +01:00
2023-11-12 15:33:29 +01:00
2023-11-12 15:33:29 +01:00
2023-11-12 15:33:29 +01:00
2023-11-25 09:12:04 +00:00

Runboat Pre-commit Status Build Status codecov Translation Status

bank-payment

TODO: add repo description.

Available addons

addon version maintainers summary
account_payment_mode 17.0.1.0.0 Account Payment Mode
account_payment_partner 17.0.1.0.0 Adds payment mode on partners and invoices

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA) policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Description
Odoo Electronic Payment
Readme 46 MiB
Languages
Python 58.9%
HTML 41%