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

Module: Initial Setup Tools

Entity: res.config.settings

Compute Method: _compute_company_count

Inputs Method Outputs
company_count = self.env['res.company'].sudo().search_count([])
for record in self:
            record.company_count = company_count

Back to entity