[report][fix] stock balance
This commit is contained in:
parent
82366d3bb8
commit
3e8eca35a2
@ -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);
|
||||
}
|
||||
});
|
||||
|
@ -72,7 +72,7 @@ data_map = {
|
||||
},
|
||||
"Item Group": {
|
||||
"columns": ["name", "parent_item_group"],
|
||||
"conditions": ["docstatus < 2"],
|
||||
# "conditions": ["docstatus < 2"],
|
||||
"order_by": "lft"
|
||||
},
|
||||
"Brand": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user