Merge pull request #44070 from frappe/mergify/bp/version-15-hotfix/pr-44058

fix: type error while saving pick list (backport #44058)
This commit is contained in:
rohitwaghchaure
2024-11-11 12:26:43 +05:30
committed by GitHub

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}."