From d73cc83b9167905d3bff1712a1586b56018a7c3b Mon Sep 17 00:00:00 2001 From: vishnu Date: Sun, 10 Nov 2024 06:55:16 +0000 Subject: [PATCH] fix: tyeerror while saving pick list (cherry picked from commit 22de0ecbdcb34ffde91b0788c66e6bb8beb18a17) --- erpnext/stock/doctype/pick_list/pick_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/stock/doctype/pick_list/pick_list.py b/erpnext/stock/doctype/pick_list/pick_list.py index aa25d625ffe..948437a8287 100644 --- a/erpnext/stock/doctype/pick_list/pick_list.py +++ b/erpnext/stock/doctype/pick_list/pick_list.py @@ -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}."