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

Module: Project

Entity: project.task

Compute Method: _compute_has_template_ancestor

View 20.0
Inputs Method Outputs
  • is_template
  • parent_id
+ for task in self:
+             task.has_template_ancestor = task.is_template or (task.parent_id and task.parent_id.sudo().has_template_ancestor)
  • has_template_ancestor

Back to entity