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

Module: Sales - Project

Entity: product.template

Compute Method: _compute_task_template

View 19.0
Inputs Method Outputs
  • task_template_id
  • task_template_id.project_id
  • project_id
+ for product in self:
+             if product.task_template_id and product.task_template_id.project_id != product.project_id:
+                 product.task_template_id = False
  • task_template_id

Back to entity