[fixes] fixes in general ledger grid report
diff --git a/accounts/page/general_ledger/general_ledger.js b/accounts/page/general_ledger/general_ledger.js
index 4a3f21e..4a39d74 100644
--- a/accounts/page/general_ledger/general_ledger.js
+++ b/accounts/page/general_ledger/general_ledger.js
@@ -306,10 +306,8 @@
},
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() {