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

Module: Task Logs

Entity: account.analytic.line

Compute Method: _compute_department_id

View 19.0 View 20.0
Inputs Method Outputs
  • employee_id
  • employee_id.department_id
for line in self:
            line.department_id = line.employee_id.department_id
  • department_id

Back to entity