fix: Don't fetch price list rate on change of qty (#20360)

This commit is contained in:
Nabin Hait
2020-01-21 13:04:30 +05:30
committed by GitHub
parent c8884257b9
commit 19d7e43b90

View File

@@ -968,7 +968,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
qty: function(doc, cdt, cdn) {
let item = frappe.get_doc(cdt, cdn);
this.conversion_factor(doc, cdt, cdn, false);
this.conversion_factor(doc, cdt, cdn, true);
this.apply_pricing_rule(item, true);
},