mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 03:39:11 +00:00
[report][fix] stock balance
This commit is contained in:
@@ -326,7 +326,7 @@ erpnext.GeneralLedger = wn.views.GridReport.extend({
|
|||||||
if(voucher_dict.totals.debit || voucher_dict.totals.credit) {
|
if(voucher_dict.totals.debit || voucher_dict.totals.credit) {
|
||||||
voucher_dict.row.debit = voucher_dict.totals.debit;
|
voucher_dict.row.debit = voucher_dict.totals.debit;
|
||||||
voucher_dict.row.credit = voucher_dict.totals.credit;
|
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);
|
out = out.concat(voucher_dict.row);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ data_map = {
|
|||||||
},
|
},
|
||||||
"Item Group": {
|
"Item Group": {
|
||||||
"columns": ["name", "parent_item_group"],
|
"columns": ["name", "parent_item_group"],
|
||||||
"conditions": ["docstatus < 2"],
|
# "conditions": ["docstatus < 2"],
|
||||||
"order_by": "lft"
|
"order_by": "lft"
|
||||||
},
|
},
|
||||||
"Brand": {
|
"Brand": {
|
||||||
|
|||||||
Reference in New Issue
Block a user