diff --git a/rma/wizards/rma_make_picking.py b/rma/wizards/rma_make_picking.py index 6d20e82b..337be30f 100644 --- a/rma/wizards/rma_make_picking.py +++ b/rma/wizards/rma_make_picking.py @@ -206,7 +206,7 @@ class RmaMakePicking(models.TransientModel): # Force the reservation of the RMA specific lot for incoming shipments. # FIXME: still needs fixing, not reserving appropriate serials. for move in pickings.move_lines.filtered( - lambda x: x.state not in ("draft", "cancel", "done") + lambda x: x.state not in ("draft", "cancel", "done", "waiting") and x.rma_line_id and x.product_id.tracking in ("lot", "serial") and x.rma_line_id.lot_id