perf: sales order UI render (backport #41591) (#41592)

perf: sales order UI render (#41591)

(cherry picked from commit ad817cddad)

Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
This commit is contained in:
mergify[bot]
2024-05-23 11:50:34 +05:30
committed by GitHub
parent 162ec7d6e8
commit 09d112a061

View File

@@ -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) {