From 09d112a0616db7d998eb319dc9114a96fdba9a7f Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 23 May 2024 11:50:34 +0530 Subject: [PATCH] perf: sales order UI render (backport #41591) (#41592) perf: sales order UI render (#41591) (cherry picked from commit ad817cddad3cef02c323ea7209726efa4d332fc3) Co-authored-by: rohitwaghchaure --- erpnext/public/js/controllers/taxes_and_totals.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/public/js/controllers/taxes_and_totals.js b/erpnext/public/js/controllers/taxes_and_totals.js index adf05ffb154..cf6b34c9604 100644 --- a/erpnext/public/js/controllers/taxes_and_totals.js +++ b/erpnext/public/js/controllers/taxes_and_totals.js @@ -83,7 +83,7 @@ erpnext.taxes_and_totals = class TaxesAndTotals extends erpnext.payments { this.frm.doc.paid_amount = flt(this.frm.doc.grand_total, precision("grand_total")); } - this.frm.refresh_fields(); + this.frm.refresh_field("taxes"); } calculate_discount_amount() { @@ -841,7 +841,7 @@ erpnext.taxes_and_totals = class TaxesAndTotals extends erpnext.payments { }); } - this.frm.refresh_fields(); + this.frm.refresh_field("taxes"); } set_default_payment(total_amount_to_pay, update_paid_amount) {