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: resource.resource

Compute Method: _compute_department_id

Inputs Method Outputs
for resource in self:
            resource.department_id = resource.employee_id.department_id

Back to entity