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

Module: Weighing assistant

Entity: stock.move

Compute Method: _compute_qty_picked

Inputs Method Outputs
  • move_line_ids
for move in self:
            move.qty_picked = sum(move.move_line_ids.mapped("qty_picked"))

Back to entity