Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Invoicing

Entity: account.code.mapping

Compute Method: _compute_code

Inputs Method Outputs
for record in self:
            account = record.account_id.with_company(record.company_id._origin)
            record.code = account.code

Back to entity