[Fix] Pricing rule discount issue

This commit is contained in:
Rohit Waghchaure
2016-10-24 14:04:46 +05:30
parent d5e52bc251
commit 43b508089e
3 changed files with 9 additions and 5 deletions

View File

@@ -720,7 +720,8 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
"brand": d.brand,
"qty": d.qty,
"parenttype": d.parenttype,
"parent": d.parent
"parent": d.parent,
"pricing_rule": d.pricing_rule
});
// if doctype is Quotation Item / Sales Order Iten then add Margin Type and rate in item_list