From d0eac47483480a75db3a08bab60622d62e93c3e4 Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Mon, 18 Sep 2023 21:49:52 +0530 Subject: [PATCH] fix: stock summary page --- erpnext/stock/dashboard/item_dashboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/stock/dashboard/item_dashboard.py b/erpnext/stock/dashboard/item_dashboard.py index 62bd61f19e..5a8d84a2c5 100644 --- a/erpnext/stock/dashboard/item_dashboard.py +++ b/erpnext/stock/dashboard/item_dashboard.py @@ -75,7 +75,7 @@ def get_data( "reserved_qty_for_production": flt(item.reserved_qty_for_production, precision), "reserved_qty_for_sub_contract": flt(item.reserved_qty_for_sub_contract, precision), "actual_qty": flt(item.actual_qty, precision), - "reserved_stock": sre_reserved_stock_details.get((item.item_code, item.warehouse), 0), + "reserved_stock": sre_reserved_stock_details, } ) return items