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

Module: Manufacturing

Entity: stock.picking

Compute Method: _compute_mrp_production_ids

Inputs Method Outputs
for picking in self:
            # hide subcontracting MO from resupply picking
            mo = picking.production_ids.filtered(lambda mo: mo.picking_type_id.active)
            picking.production_count = len(mo)

Back to entity