Revert "fix: Coupon code item pricing dynamic updation issue in pos screen (backport #29599)"

This commit is contained in:
Saqib Ansari
2022-02-17 15:57:39 +05:30
committed by GitHub
parent 20f7db98cb
commit 2828d7cd7a

View File

@@ -2270,8 +2270,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
() => this.frm.doc.ignore_pricing_rule=1,
() => me.ignore_pricing_rule(),
() => this.frm.doc.ignore_pricing_rule=0,
() => me.apply_pricing_rule(),
() => this.frm.save()
() => me.apply_pricing_rule()
]);
} else {
frappe.run_serially([