diff --git a/rma/models/rma_order_line.py b/rma/models/rma_order_line.py index cb73c55e..41ae9620 100644 --- a/rma/models/rma_order_line.py +++ b/rma/models/rma_order_line.py @@ -88,7 +88,7 @@ class RmaOrderLine(models.Model): for move in self.move_ids: first_usage = move._get_first_usage() last_usage = move._get_last_usage() - if first_usage == "internal" and last_usage != "internal": + if first_usage in ("internal", "production") and last_usage != "internal": pickings |= move.picking_id elif last_usage == "customer" and first_usage == "supplier": pickings |= move.picking_id