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_has_kits

Inputs Method Outputs
  • move_ids
for picking in self:
            picking.has_kits = any(picking.move_ids.mapped('bom_line_id'))

Back to entity