From 1a9ae33110371655e9ef88d6904c0c03f985ec90 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Wed, 20 Mar 2024 13:18:23 +0530 Subject: [PATCH] fix: pick list not picked qty less than 1 --- erpnext/stock/doctype/pick_list/pick_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/stock/doctype/pick_list/pick_list.py b/erpnext/stock/doctype/pick_list/pick_list.py index 8a1f79d4a27..18d530f12af 100644 --- a/erpnext/stock/doctype/pick_list/pick_list.py +++ b/erpnext/stock/doctype/pick_list/pick_list.py @@ -774,7 +774,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)