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.partner

Compute Method: _compute_active_lang_count

Inputs Method Outputs
lang_count = len(self.env['res.lang'].get_installed())
for partner in self:
            partner.active_lang_count = lang_count

Back to entity