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

This commit is contained in:
Saqib Ansari
2022-02-08 15:27:36 +05:30
committed by GitHub

View File

@@ -2269,7 +2269,8 @@ 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()
() => me.apply_pricing_rule(),
() => this.frm.save()
]);
} else {
frappe.run_serially([