Merge pull request #29599 from nemesis189/coupon-code-issue-pos

fix: Coupon code item pricing dynamic updation issue in pos screen
This commit is contained in:
Saqib Ansari 2022-02-08 11:50:19 +05:30 committed by GitHub
commit 5e32b809cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2288,7 +2288,8 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
() => 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([