From 54cab9cded1df56cbd56494083edc6e37a35df9d Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 10 Apr 2013 16:04:18 +0530 Subject: [PATCH] [fixes] fixes in general ledger grid report --- accounts/page/general_ledger/general_ledger.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/accounts/page/general_ledger/general_ledger.js b/accounts/page/general_ledger/general_ledger.js index 4a3f21ea92..4a39d74554 100644 --- a/accounts/page/general_ledger/general_ledger.js +++ b/accounts/page/general_ledger/general_ledger.js @@ -306,10 +306,8 @@ erpnext.GeneralLedger = wn.views.GridReport.extend({ }, make_account_by_name: function() { - if(!this.account_by_name) { - this.account_by_name = this.make_name_map(wn.report_dump.data["Account"]); - this.make_voucher_acconuts_map(); - } + this.account_by_name = this.make_name_map(wn.report_dump.data["Account"]); + this.make_voucher_acconuts_map(); }, make_voucher_acconuts_map: function() {