Merge pull request #44058 from Vishnu7025/type_error_fix

fix: type error while saving pick list
This commit is contained in:
rohitwaghchaure
2024-11-11 11:53:14 +05:30
committed by GitHub

View File

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