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

Module: France - Localizations

Entity: res.partner

Compute Method: _compute_l10n_fr_is_french

Inputs Method Outputs
  • country_code
for partner in self:
            partner.l10n_fr_is_french = partner.country_code in self.env['res.company']._get_france_country_codes()

Back to entity