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

Compute Method: _compute_master_department_id

Inputs Method Outputs
for department in self:
            department.master_department_id = int(department.parent_path.split('/')[0])

Back to entity