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 Batch Creation

Entity: stock.picking

Compute Method: _compute_nbr_picking_lines

Inputs Method Outputs
  • move_line_ids
for rec in self:
            rec.nbr_picking_lines = len(rec.move_line_ids)

Back to entity