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

Module: Work Entries

Entity: hr.time.rule

Compute Method: _compute_country_id

Inputs Method Outputs
for rule in self:
            if rule.company_id:
                rule.country_id = rule.company_id.country_id

Back to entity