closing = opening + diff for stock balance report

This commit is contained in:
Anand Doshi 2013-01-07 13:28:40 +05:30
parent 276da2c7db
commit e80b9c6ee9

View File

@ -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() {