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_link_preview_name

View 20.0
Inputs Method Outputs
  • display_name
  • project_id
+ for task in self:
+             link_preview_name = task.display_name
+             if task.project_id:
+                 link_preview_name += f' | {task.project_id.sudo().name}'
+             task.link_preview_name = link_preview_name
  • link_preview_name

Back to entity