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_assignable

Inputs Method Outputs
  • res_model
for plan in self:
            plan.department_assignable = plan.res_model == 'hr.employee'

Back to entity