Merge pull request #42461 from HarryPaulo/fix-lock-screen-on-load-invoices

fix: Freeze Screen on load invoices on POS Closing Entry
This commit is contained in:
ruthra kumar
2024-10-21 12:26:13 +05:30
committed by GitHub

View File

@@ -80,8 +80,10 @@ frappe.ui.form.on("POS Closing Entry", {
) {
reset_values(frm);
frappe.run_serially([
() => frappe.dom.freeze(__("Loading Invoices! Please Wait...")),
() => frm.trigger("set_opening_amounts"),
() => frm.trigger("get_pos_invoices"),
() => frappe.dom.unfreeze(),
]);
}
},