[enhance] Stock qty added in purchase invoice

This commit is contained in:
Rohit Waghchaure
2017-04-10 16:42:11 +05:30
committed by Nabin Hait
parent 95108ac80b
commit 87ad6d074a
5 changed files with 80 additions and 14 deletions

View File

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