From cb5a05ea98982721e93b5d457ff50f87e4cb2c3a Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 4 Feb 2013 13:57:54 +0530 Subject: [PATCH] fixes in stock ledger report --- stock/page/stock_ledger/stock_ledger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stock/page/stock_ledger/stock_ledger.js b/stock/page/stock_ledger/stock_ledger.js index b999dd0494..82230e4cef 100644 --- a/stock/page/stock_ledger/stock_ledger.js +++ b/stock/page/stock_ledger/stock_ledger.js @@ -208,7 +208,7 @@ erpnext.StockLedger = erpnext.StockGridReport.extend({ } } - if(me.item_code != me.item_code_default && !me.voucher_no) { + if(me.item_code && !me.voucher_no) { var closing = { item_code: "On " + dateutil.str_to_user(this.to_date), balance: (out.length ? out[out.length-1].balance : 0), qty: 0,