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

Module: Employee Contracts

Entity: hr.employee

Compute Method: _compute_legal_name

Inputs Method Outputs
for employee in self:
            if not employee.legal_name:
                employee.legal_name = employee.name

Back to entity