fix in get_value_diff of stock grid report: case for serialized items

This commit is contained in:
Anand Doshi
2013-03-08 12:46:48 +05:30
parent 6008f96540
commit d5aeb21dd9
5 changed files with 39 additions and 4 deletions

View File

@@ -134,6 +134,7 @@ erpnext.StockAnalytics = erpnext.StockGridReport.extend({
var data = wn.report_dump.data["Stock Ledger Entry"];
this.item_warehouse = {};
this.serialized_buying_rates = this.get_serialized_buying_rates();
for(var i=0, j=data.length; i<j; i++) {
var sl = data[i];