fix: tyeerror while saving pick list

This commit is contained in:
vishnu
2024-11-10 06:55:16 +00:00
parent 598e9c1390
commit 22de0ecbdc

View File

@@ -109,7 +109,7 @@ class PickList(Document):
"actual_qty",
)
if row.qty > bin_qty:
if row.qty > flt(bin_qty):
frappe.throw(
_(
"At Row #{0}: The picked quantity {1} for the item {2} is greater than available stock {3} in the warehouse {4}."