Account Payment Base OCA
This is the new base module for the OCA project bank-payment-alternative. As the name suggests, the OCA project bank-payment-alternative is an alternative to the OCA project bank-payment. The project bank-payment-alternative uses the native payment method object of Odoo (model account.payment.method.line) which has been introduced in Odoo v15 and is used on partners and invoices since Odoo v18.
This module adds support for variable link between bank/cash journal and payment method. A typical use case is for a company that has several bank accounts and wants to have an outbound payment method Wire transfer to suppliers which is not linked to a specific bank account and decide which bank account will be debited when confirming the payment order.
This module also adds support for the display of partially scrambled bank account numbers. This is useful for some inbound payment methods where the company debits the bank account of its customers and the company wants to show on its customer invoices the bank account number that will be debited without printing the full bank account number, but print it partially scrambled.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Extends Odoo's native payment methods so a payment method can be linked to a fixed bank account or to a variable one chosen later, and lets you show partially masked customer bank account numbers on invoices.
This module builds on Odoo's standard payment method lines and adds more control over how they relate to bank and cash journals.
- On each payment method line you can set the "Link to Bank Account" to Fixed (always the same journal) or Variable (the journal is chosen later, for example when confirming a payment order). For variable methods you list the allowed bank journals.
- A new "Payment Methods" menu under Accounting gives a dedicated list and form to manage these payment method lines, including a "Selectable on Partners/Invoices" toggle, a refund payment method, and a report description.
- On customer invoices and vendor bills you can pick a preferred payment method, and only methods marked as selectable are offered. If the method requires the counterparty's bank account, the bank account field on the invoice becomes mandatory.
- For inbound invoices, the partner bank account is automatically filled from the bank account of the payment method's journal.
- You can choose how much of the customer bank account number appears on the invoice report: full, first characters, last characters, both, or none, with a configurable number of characters.
- The invoice analysis report gains a Payment Method column, filter and grouping.
- Validation rules prevent inconsistent setups, such as a fixed method without a journal, a variable method with an outstanding account, or a variable method whose journals lack a bank account. BIC codes are also checked for valid length and format.
Depends on
Required by other modules
Menus it adds
Models and fields (7)
- res.bank · extends an existing model
- res.partner · extends an existing modelproperty_inbound_payment_method_line_id, property_outbound_payment_method_line_id
- account.move · extends an existing modelpayment_method_code, bank_account_required
- res.partner.bank · extends an existing modelacc_number_scrambled
- account.invoice.report · extends an existing modelpayment_method_line_id (Payment Method)
- account.payment.method · extends an existing modelbank_account_required
- account.payment.method.line · extends an existing modelname, active, company_id, journal_id, selectable (Selectable on Partners/Invoices), bank_account_link (Link to Bank Account), payment_method_id (Technical Payment Method), show_bank_account (Show Customer Bank Account), filter_journal_ids, payment_account_id (Outstanding Payment/Receipt Account), report_description, variable_journal_ids (Allowed Bank Journals), show_bank_account_chars (# of Digits to Show for Customer Bank Account), refund_payment_method_line_id (Payment Method for Refunds)
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/bank-payment-alternative.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.