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

Module: Stock Picking Procure Method

Entity: stock.picking

Compute Method: _compute_procure_method

Inputs Method Outputs
for picking in self:
            procure_method = False
            for move in picking.move_ids:
                if not procure_method:
                    procure_method = move.procure_method
                elif procure_method != move.procure_method:
                    procure_method = False
                    break
            picking.procure_method = procure_method

Back to entity