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

Module: Employees

Entity: hr.employee.base

Compute Method: _compute_parent_id

Inputs Method Outputs
for employee in self.filtered('department_id.manager_id'):
            employee.parent_id = employee.department_id.manager_id

Back to entity