fix: tyeerror while saving pick list

(cherry picked from commit 22de0ecbdc)
This commit is contained in:
vishnu
2024-11-10 06:55:16 +00:00
committed by Mergify
parent 093b4f9845
commit d73cc83b91

View File

@@ -61,7 +61,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}."