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

Module: Project Task Stock

Entity: project.task

Compute Method: _compute_allow_moves_action_confirm

Inputs Method Outputs
for item in self:
            item.allow_moves_action_confirm = any(
                move.state == "draft" for move in item.move_ids
            )

Back to entity