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

Module: Discuss

Entity: mail.activity.plan.template

Compute Method: _compute_responsible_id

View 17.0 View 19.0
Inputs Method Outputs
  • responsible_type
  • responsible_id
  • activity_type_id
  • activity_type_id.default_user_id
for template in self:
+             template.responsible_id = template.activity_type_id.default_user_id
            if template.responsible_type != 'other' and template.responsible_id:
                template.responsible_id = False
  • responsible_id

Back to entity