Account Invoice Bank Brand

account_invoice_bank_brand
REPOSITORY
REPOSITORYOCA/brand
GIT
GIThttps://github.com/OCA/brand.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/brand/tree/18.0/account_invoice_bank_brand
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, bosd
WEBSITE
WEBSITEhttps://github.com/OCA/brand
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/brand:
    - account_brand
    - brand
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module addresses the need to specify different receiving bank accounts based on brand.
When generating invoices, the module automatically populates the invoice's bank account field with the configured default, streamlining the payment process and ensuring invoices specify the correct remittance details based on the brand.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_brand_form_view res.brand.form (in account_invoice_bank_brand) res.brand xpath Inherits brand.res_brand_form_view
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • partner_bank_id Many2one → res.partner.bank
    comodel_name='res.partner.bank' domain="[('partner_id', '=', partner_id)]" help='Bank Account Number to which the invoices of this brand will be paid (for Customer Invoice and Vendor Credit Note)' string='Bank Account'
Public methods (1)
  • validate_partner_bank_id(self)
    @api.constrains('partner_id', 'partner_bank_id')
REPOSITORY
REPOSITORYOCA/brand
GIT
GIThttps://github.com/OCA/brand.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/brand/tree/12.0/account_invoice_bank_brand
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSsbejaoui, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/brand
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/brand:
    - account_brand
    - brand
    - analytic_brand
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_brand_form_view res.brand.form (in account_invoice_bank_brand) res.brand xpath Inherits brand.res_brand_form_view
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • partner_bank_id Many2one → res.partner.bank
    comodel_name='res.partner.bank' description='Company Bank Account Number to which the invoices of this brand will be paid (for Customer Invoice and Vendor Credit Note)' domain="[('partner_id.ref_company_ids', 'in', [company_id])]" string='Bank Account'
Public methods (1)
  • validate_partner_bank_id(self)
    @api.constrains('company_id', 'partner_bank_id')
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/brand
PULL REQUEST
PULL REQUEST[19.0][MIG] account_invoice_bank_brand: Migration to 19.0 (#310)