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

Module: Inventory

Entity: stock.move

Compute Method: _compute_is_initial_demand_editable

Inputs Method Outputs
for move in self:
            move.is_initial_demand_editable = not move.picking_id.is_locked or move.state == 'draft'

Back to entity