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

Module: Sales Timesheet

Entity: project.task

Compute Method: _compute_has_multi_sol

Inputs Method Outputs
  • timesheet_ids
  • timesheet_ids.so_line
  • sale_line_id
for task in self:
            task.has_multi_sol = task.timesheet_ids and task.timesheet_ids.so_line != task.sale_line_id

Back to entity