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: mail.activity.plan

Compute Method: _compute_department_id

Inputs Method Outputs
for plan in self.filtered(lambda plan: not plan.department_assignable):
            plan.department_id = False

Back to entity