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_show_display_in_project

View 18.0
Inputs Method Outputs
  • parent_id
  • project_id
- for task in self:
-             task.show_display_in_project = bool(task.parent_id) and task.project_id == task.parent_id.sudo().project_id
  • show_display_in_project

Back to entity