Merge pull request #40559 from rohitwaghchaure/fixed-pick-list-issue-11688

fix: pick list not picked materials having required qty less than 1
This commit is contained in:
rohitwaghchaure
2024-03-20 13:51:43 +05:30
committed by GitHub

View File

@@ -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)