Skip to content

Commit

Permalink
Merge branch 'version-14-hotfix' into mergify/bp/version-14-hotfix/pr…
Browse files Browse the repository at this point in the history
…-33314
  • Loading branch information
s-aga-r authored Dec 13, 2022
2 parents 3b9e9d2 + bd6d249 commit 4059b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/public/js/controllers/taxes_and_totals.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4059b76

Please sign in to comment.