Repository
OCA/brand · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/brand
Last tracking update
2026-08-07 08:43:05
Authors
ACSONE SA/NV, Odoo Community Association (OCA)
Maintainers
ACSONE SA/NV, Odoo Community Association (OCA)
Committers
Weblate, OCA-git-bot, oca-ci, bosd
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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 form Inherits brand.res_brand_form_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

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')

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
87 days ago
Last activity
62 days ago
Repository
OCA/brand
Pull request
[19.0][MIG] account_invoice_bank_brand: Migration to 19.0 (#310)