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

Module: Base

Entity: res.company

Compute Method: _compute_color

Inputs Method Outputs
for company in self:
            company.color = company.root_id.partner_id.color or (company.root_id._origin.id % 12)

Back to entity