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

Module: Test - Base Automation

Entity: test_base_automation.task

Compute Method: _compute_project_id

Inputs Method Outputs
for task in self:
            if not task.project_id:
                task.project_id = task.parent_id.project_id

Back to entity