fix(pos): removal of coupon code
(cherry picked from commit fa38c291bd)
This commit is contained in:
committed by
mergify-bot
parent
85b7bc8d6b
commit
8d24cb44a8
@@ -180,14 +180,6 @@ erpnext.PointOfSale.Payment = class {
|
|||||||
() => frm.save(),
|
() => frm.save(),
|
||||||
() => this.update_totals_section(frm.doc)
|
() => this.update_totals_section(frm.doc)
|
||||||
]);
|
]);
|
||||||
} else {
|
|
||||||
frappe.run_serially([
|
|
||||||
() => frm.doc.ignore_pricing_rule=1,
|
|
||||||
() => frm.trigger('ignore_pricing_rule'),
|
|
||||||
() => frm.doc.ignore_pricing_rule=0,
|
|
||||||
() => frm.save(),
|
|
||||||
() => this.update_totals_section(frm.doc)
|
|
||||||
]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user