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

Inputs Method Outputs
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

Back to entity