Merge pull request #43747 from frappe/mergify/bp/version-14-hotfix/pr-42461

fix: Freeze Screen on load invoices on POS Closing Entry (backport #42461)
This commit is contained in:
ruthra kumar
2024-10-21 13:08:02 +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(),
]);
}
},