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

This commit is contained in:
Nabin Hait
2020-01-21 13:04:26 +05:30
committed by GitHub
parent 541881162a
commit 05f4be69f4

View File

@@ -968,7 +968,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
qty: function(doc, cdt, cdn) { qty: function(doc, cdt, cdn) {
let item = frappe.get_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); this.apply_pricing_rule(item, true);
}, },