Merge branch 'version-14-hotfix' into mergify/bp/version-14-hotfix/pr-33314

This commit is contained in:
Sagar Sharma
2022-12-13 15:24:41 +05:30
committed by GitHub

View File

@@ -58,7 +58,7 @@ erpnext.taxes_and_totals = class TaxesAndTotals extends erpnext.payments {
if (
in_list(["Sales Invoice", "POS Invoice"], this.frm.doc.doctype)
&& this.frm.doc.s_pos
&& this.frm.doc.is_pos
&& this.frm.doc.is_return
) {
this.set_total_amount_to_default_mop();