diff --git a/shopfloor/services/location_content_transfer.py b/shopfloor/services/location_content_transfer.py index 5ebb6d7c936..a0e98458996 100644 --- a/shopfloor/services/location_content_transfer.py +++ b/shopfloor/services/location_content_transfer.py @@ -139,7 +139,9 @@ def _next_content(self, pickings): return next_content def _router_single_or_all_destination(self, pickings, message=None): - if len(pickings.mapped("move_line_ids.location_dest_id")) == 1: + location_dest = pickings.mapped("move_line_ids.location_dest_id") + location_src = pickings.mapped("move_line_ids.location_id") + if len(location_dest) == len(location_src) == 1: return self._response_for_scan_destination_all(pickings, message=message) else: return self._response_for_start_single(pickings, message=message)