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

Module: Project HR

Entity: project.task

Compute Method: _compute_employee_ids

Inputs Method Outputs
for task in self.filtered("user_ids"):
            task.employee_ids = task.user_ids.employee_ids.filtered(
                lambda x, company_id=task.company_id or self.env.company: x.company_id
                == company_id
            )

Back to entity