fix: Coupon code item pricing dynamic updation issue

(cherry picked from commit ccf63124d6)
This commit is contained in:
Subin Tom
2022-02-02 20:13:33 +05:30
committed by mergify-bot
parent 8e660890f4
commit c494ed087a

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([