OdooWiki OCA HUB

Partner Bank Code

partner_bank_code folder_open OCA/partner-contact open_in_new
Uncategorised License: AGPL-3

This module adds a field 'Bank Code' and 'Bank Branch Code' on Banks.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds Bank Code and Bank Branch Code fields to banks, shows them on the bank form and list, and prevents saving two banks with the same code combination.

This module extends the bank records already available in Odoo (the res.bank model) with two extra text fields: Bank Code and Bank Branch Code. These appear on the bank form right after the BIC field, and are also available as optional columns in the bank list view, so users can show or hide them as needed.

Business rules added by the module:

  • A uniqueness check prevents saving two bank records with the same Bank Code and Bank Branch Code combination. If a duplicate is entered, Odoo blocks the save with the message "Bank and Branch Code should be unique."
  • The bank's display name is automatically enriched: when a Bank Code is filled in, the name shown becomes the bank name followed by the code in brackets, for example "Bank Name [1234]". If a branch code is also present, it is added after a slash, for example "Bank Name [1234/567]".
  • Searching for a bank by name also looks at the BIC, Bank Code and Bank Branch Code, so typing a code prefix finds the right bank.

No new menus or screens are created; the changes are integrated into the existing bank configuration screens. The module only depends on the base module and does not touch sales, purchases, accounting entries or contacts beyond the bank records themselves.

Depends on

base

Required by other modules

Models and fields (1)
  • res.bank · extends an existing modelbank_code, bank_branch_code

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 5 confirmed, 4 with no information of 9 versions.

Sources · Odoo 19.0

Confirmed on 2026-11-03 in branch 19.0 of OCA/partner-contact.

terminal Installation and usage

OCA documentation · Odoo 19.0
  • Go to Contacts \> Configuration \> Bank Accounts \> Bank
  • Fill Bank Code, Bank Branch Code (if any)

No verified information in OCA: Installation, Configuration.

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.