mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-15 23:54:59 +00:00
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:
@@ -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