[rename] group_or_ledger to is_group

This commit is contained in:
Rushabh Mehta
2015-04-23 13:14:17 +05:30
parent 4669fe3e85
commit 38c6b52770
56 changed files with 295 additions and 305 deletions

View File

@@ -178,7 +178,7 @@ erpnext.AccountTreeGrid = frappe.views.TreeGridReport.extend({
var me= this;
$.each(this.data, function(i, account) {
// update groups
if((account.group_or_ledger == "Ledger") || (account.rgt - account.lft == 1)) {
if((account.is_group == 0) || (account.rgt - account.lft == 1)) {
var parent = me.parent_map[account.name];
while(parent) {
var parent_account = me.item_by_name[parent];