fix: pick list not picked qty less than 1
(cherry picked from commit 1a9ae33110)
This commit is contained in:
committed by
Mergify
parent
1c90797879
commit
5310ec38ca
@@ -778,7 +778,7 @@ def get_available_item_locations(
|
||||
|
||||
if picked_item_details:
|
||||
for location in list(locations):
|
||||
if location["qty"] < 1:
|
||||
if location["qty"] < 0:
|
||||
locations.remove(location)
|
||||
|
||||
total_qty_available = sum(location.get("qty") for location in locations)
|
||||
|
||||
Reference in New Issue
Block a user