Skip to content

Commit

Permalink
Merge pull request #35303 from s-aga-r/FIX-34761
Browse files Browse the repository at this point in the history
fix: Pick List TypeError
  • Loading branch information
s-aga-r authored May 23, 2023
2 parents 00bb8ad + a111917 commit 3940deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/stock/doctype/pick_list/pick_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ def get_items_with_location_and_quantity(item_doc, item_location_map, docstatus)
item_doc.qty if (docstatus == 1 and item_doc.stock_qty == 0) else item_doc.stock_qty
)

while remaining_stock_qty > 0 and available_locations:
while flt(remaining_stock_qty) > 0 and available_locations:
item_location = available_locations.pop(0)
item_location = frappe._dict(item_location)

Expand Down

0 comments on commit 3940deb

Please sign in to comment.