Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Mail Activity Team
Entity: mail.activity.plan.template
Compute Method: _compute_activity_team_id
| Inputs | Method | Outputs |
|---|---|---|
|
+ """Assign the default team from the activity type""" + for template in self: + if template.activity_team_required: + if template.activity_type_id.default_team_id: + template.activity_team_id = ( + template.activity_type_id.default_team_id + ) + elif template.activity_team_id: + template.activity_team_id = False |
|
