chore: add screen freeze on wait
diff --git a/erpnext/accounts/doctype/bisect_accounting_statements/bisect_accounting_statements.js b/erpnext/accounts/doctype/bisect_accounting_statements/bisect_accounting_statements.js
index 486630e..519246b 100644
--- a/erpnext/accounts/doctype/bisect_accounting_statements/bisect_accounting_statements.js
+++ b/erpnext/accounts/doctype/bisect_accounting_statements/bisect_accounting_statements.js
@@ -58,6 +58,8 @@
frm.call({
doc: frm.doc,
method: 'bisect_left',
+ freeze: true,
+ freeze_message: __("Bisecting Left ..."),
callback: (r) => {
frm.trigger("render_heatmap");
}
@@ -66,6 +68,8 @@
bisect_right(frm) {
frm.call({
doc: frm.doc,
+ freeze: true,
+ freeze_message: __("Bisecting Right ..."),
method: 'bisect_right',
callback: (r) => {
frm.trigger("render_heatmap");
@@ -75,6 +79,8 @@
move_up(frm) {
frm.call({
doc: frm.doc,
+ freeze: true,
+ freeze_message: __("Moving up in tree ..."),
method: 'move_up',
callback: (r) => {
frm.trigger("render_heatmap");
@@ -84,6 +90,8 @@
build_tree(frm) {
frm.call({
doc: frm.doc,
+ freeze: true,
+ freeze_message: __("Rebuilding BTree for period ..."),
method: 'build_tree',
callback: (r) => {
frm.trigger("render_heatmap");