[report][fix] stock balance

This commit is contained in:
Nabin Hait 2013-06-24 17:18:24 +05:30
parent 82366d3bb8
commit 3e8eca35a2
2 changed files with 2 additions and 2 deletions

View File

@ -326,7 +326,7 @@ erpnext.GeneralLedger = wn.views.GridReport.extend({
if(voucher_dict.totals.debit || voucher_dict.totals.credit) {
voucher_dict.row.debit = voucher_dict.totals.debit;
voucher_dict.row.credit = voucher_dict.totals.credit;
voucher_dict.row.id = "entry" + voucher
voucher_dict.row.id = "entry_grouped_by_" + voucher
out = out.concat(voucher_dict.row);
}
});

View File

@ -72,7 +72,7 @@ data_map = {
},
"Item Group": {
"columns": ["name", "parent_item_group"],
"conditions": ["docstatus < 2"],
# "conditions": ["docstatus < 2"],
"order_by": "lft"
},
"Brand": {