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

Module: Task Logs

Entity: account.analytic.line

Compute Method: _compute_task_id

Inputs Method Outputs
for line in self:
            if line.project_id and line.project_id == line.task_id.project_id:
                continue
            line.task_id = False

Back to entity