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

View 17.0 View 18.0
Inputs Method Outputs
- for plan in self.filtered(lambda plan: plan.res_model != 'hr.employee'):
+ for plan in self.filtered(lambda plan: not plan.department_assignable):
            plan.department_id = False
  • department_id

Back to entity