Merge pull request #44069 from frappe/mergify/bp/version-14-hotfix/pr-44058

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

View File

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