[fix] Purchase analytics report not loading

This commit is contained in:
Rohit Waghchaure 2017-03-24 17:37:02 +05:30
parent 2b9c95a940
commit f74b02140c

View File

@ -241,7 +241,7 @@ data_map = {
} }
}, },
"Purchase Invoice Item": { "Purchase Invoice Item": {
"columns": ["name", "parent", "item_code", "stock_qty as qty", "base_net_amount"], "columns": ["name", "parent", "item_code", "(qty * conversion_factor) as qty", "base_net_amount"],
"conditions": ["docstatus=1", "ifnull(parent, '')!=''"], "conditions": ["docstatus=1", "ifnull(parent, '')!=''"],
"order_by": "parent", "order_by": "parent",
"links": { "links": {