perf: sales order UI render (#41591)
This commit is contained in:
@@ -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() {
|
||||
@@ -853,7 +853,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) {
|
||||
|
||||
Reference in New Issue
Block a user