OdooWiki OCA HUB

Account Vendor Bank Account Default

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

This module allows you to set a default bank account on partners for their vendor bills.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you choose a default bank account for each vendor so their vendor bills automatically use it. You can also switch the default off for a vendor when you want to pick the account manually.

This module adds a default bank account setting to contacts, so vendor bills can be filled in automatically.

On a contact form, in the Purchase section, you now see a "Default Bank Account" field and a "Has Default Bank Account" switch. The default account is chosen from the bank accounts already registered on that contact. If you do not pick one, the first bank account of the contact is used. The setting is shared with related companies and contacts.

When a vendor bill is created and its payment mode is an outgoing payment method that requires a bank account, Odoo automatically puts the vendor's default bank account on the bill. If the vendor has the default switched off, no bank account is filled in, so you can choose one yourself.

The module works together with the payment mode and payment method settings on vendor bills, and it changes the contact form and the way the bank account field is computed on vendor bills.

Depends on

Models and fields (2)
  • res.partner · extends an existing modeldefault_bank_id (Default Bank Account), has_default_bank_id (Has Default Bank Account), user_default_bank_id (User Default Bank Account)
  • account.move · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 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.

terminal Installation and usage

OCA documentation · Odoo 18.0

To configure this module, you need to:

  • Go to a partner form view, and edit the Default Bank Account in the Sales and Purchase tab. The partner must be of type 'company', or an individual without a parent company. Note: If you do not set this value, it will be equal to the first bank account created in the contact. This is the standard behaviour of Odoo
  • You can disable the default bank account option at contact level, unmarking the "Has Default Bank Account" check.

To use this module, you need to:

  • Create a vendor bill and select a partner with a default bank account. Its recipient bank account will be the default one.

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.