closing = opening + diff for stock balance report
This commit is contained in:
parent
276da2c7db
commit
e80b9c6ee9
@ -130,6 +130,12 @@ erpnext.StockBalance = erpnext.StockAnalytics.extend({
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// opening + diff = closing
|
||||
// adding opening, since diff already added to closing
|
||||
$.each(me.item_by_name, function(key, item) {
|
||||
item.closing += item.opening;
|
||||
});
|
||||
},
|
||||
|
||||
update_groups: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user