OdooWiki OCA HUB

Account Payment Mode

account_payment_mode folder_open OCA/bank-payment open_in_new
Banking addons License: AGPL-3

This module adds a new object account.payment.mode, that is used to better classify and route incoming/outgoing payment orders with the banks. This module adds several fields:

  • the Supplier Payment Mode and Customer Payment Mode on Partners,
  • the Payment Mode on Invoices.
  • the Show bank account on Payment Mode.
  • the # of digits for customer bank account on Payment Mode.
  • the Bank account from journals on Payment Mode.
  • the Payment mode on Invoices Analysis.

On a Payment Order, in the wizard Select Invoices to Pay, the invoices will be filtered per Payment Mode.

Allows to print in the invoice to which account number the payment (via SEPA direct debit) is going to be charged so the customer knows that information, but there are some customers that don't want that everyone looking at the invoice sees the full account number (and even GDPR can say a word about that), so that's the reason behind the several options.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets you define payment modes (how customers pay you and how you pay suppliers) and assign them to contacts and invoices, so invoices are automatically routed to the right bank journal and the invoice report can show the bank account number.

This module adds a new concept called a Payment Mode, used to describe how money comes in or goes out (for example a wire transfer or a direct debit). You manage them under Accounting > Configuration, in the new Payment Modes menu, and also get a Payment Methods menu.

On each payment mode you choose the payment method, whether it is linked to a fixed bank journal or to a list of allowed bank journals, and an optional refund payment mode used when a credit note is created. You can also decide what bank account information appears on the invoice report: full number, only the first or last digits, or nothing, and whether the account comes from the journals.

On a contact you can set a default customer payment mode and supplier payment mode. When you create an invoice, the payment mode is filled automatically from the contact (or from the refund mode of the original invoice), and the bank account on the invoice is adjusted accordingly. A company setting lets you keep or clear the bank account when no payment mode is set.

Invoices and journal items show the payment mode, and you can group and filter invoices and the invoice analysis report by payment mode. Several consistency checks prevent mixing companies between payment modes, journals and invoices.

Depends on

account

Menus it adds

account_payment_method_menuaccount_payment_mode_menu
Models and fields (9)
  • res.company · extends an existing modelkeep_partner_bank_without_payment_mode (Keep Bank Account Without Payment Mode)
  • res.partner · extends an existing modelcustomer_payment_mode_id, supplier_payment_mode_id
  • account.move · extends an existing modelpayment_mode_id, has_reconciled_items, bank_account_required, partner_bank_filter_type_domain, payment_mode_filter_type_domain
  • account.journal · extends an existing model
  • account.move.line · extends an existing modelpayment_mode_id
  • res.config.settings · extends an existing modelkeep_partner_bank_without_payment_mode
  • account.payment.mode · new modelname, note, active, sequence, company_id (Company), payment_type, fixed_journal_id (Fixed Bank Journal), bank_account_link (Link to Bank Account), payment_method_id (Payment Method), show_bank_account, payment_method_code, variable_journal_ids (Allowed Bank Journals), refund_payment_mode_id (Payment mode for refunds), show_bank_account_chars (# of digits for customer bank account), show_bank_account_from_journal (Bank account from journals)
  • account.invoice.report · extends an existing modelpayment_mode_id (Payment mode)
  • account.payment.method · extends an existing modelcode (Code (Do Not Modify)), active, payment_mode_ids (Payment modes), bank_account_required

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. The module is very large and only part of the code was read. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 15.0

Confirmed on 2026-11-03 in branch 15.0 of OCA/bank-payment.

terminal Installation and usage

OCA documentation · Odoo 19.0

To configure this module, you need to go to the menu Invoicing/Accounting \> Configuration \> Management \> Payment Modes.

This module provides the foundation for managing payment modes and integrates them directly with partners and invoices.

You are able to add a payment mode directly on a partner.

This payment mode is automatically associated to the invoice related to the partner. This default value could be changed in a draft invoice.

When you create a payment order, only invoices related to chosen payment mode are displayed.

Invoices without any payment mode are displayed too.

No verified information in OCA: Installation.

info

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.