From 28913b97b04f9ce25a346acbf811aa4370122f07 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Fri, 31 Oct 2014 14:46:07 +0530 Subject: [PATCH] [fix] Null issue fixed in stock analytics report --- erpnext/public/js/stock_analytics.js | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/public/js/stock_analytics.js b/erpnext/public/js/stock_analytics.js index a86d7ade95..091836f95e 100644 --- a/erpnext/public/js/stock_analytics.js +++ b/erpnext/public/js/stock_analytics.js @@ -131,6 +131,7 @@ erpnext.StockAnalytics = erpnext.StockGridReport.extend({ if(me.is_default("warehouse") ? true : me.warehouse == sl.warehouse) { var item = me.item_by_name[sl.item_code]; + if(item.closing_qty_value==undefined) item.closing_qty_value = 0; if(me.value_or_qty!="Quantity") { var wh = me.get_item_warehouse(sl.warehouse, sl.item_code);