Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Inventory
Entity: stock.move
Compute Method: _compute_picked
| Inputs | Method | Outputs |
|---|---|---|
|
for move in self:
if move.state == 'done' or any(ml.picked for ml in move.move_line_ids):
move.picked = True
- else:
+ elif move.move_line_ids:
move.picked = False
|
|
