mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-16 08:47:33 +00:00
fix: Freeze Screen on load invoices on POS Closing Entry
(cherry picked from commit 486d396174)
This commit is contained in:
@@ -80,8 +80,10 @@ frappe.ui.form.on("POS Closing Entry", {
|
|||||||
) {
|
) {
|
||||||
reset_values(frm);
|
reset_values(frm);
|
||||||
frappe.run_serially([
|
frappe.run_serially([
|
||||||
|
() => frappe.dom.freeze(__("Loading Invoices! Please Wait...")),
|
||||||
() => frm.trigger("set_opening_amounts"),
|
() => frm.trigger("set_opening_amounts"),
|
||||||
() => frm.trigger("get_pos_invoices"),
|
() => frm.trigger("get_pos_invoices"),
|
||||||
|
() => frappe.dom.unfreeze(),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user