fix: disable form save on naming series tool (#30909)

diff --git a/erpnext/setup/doctype/naming_series/naming_series.js b/erpnext/setup/doctype/naming_series/naming_series.js
index 7c76d9c..861b2b3 100644
--- a/erpnext/setup/doctype/naming_series/naming_series.js
+++ b/erpnext/setup/doctype/naming_series/naming_series.js
@@ -4,10 +4,13 @@
 
 frappe.ui.form.on("Naming Series", {
 	onload: function(frm) {
-		frm.disable_save();
 		frm.events.get_doc_and_prefix(frm);
 	},
 
+	refresh: function(frm) {
+		frm.disable_save();
+	},
+
 	get_doc_and_prefix: function(frm) {
 		frappe.call({
 			method: "get_transactions",