fix: disable form save on naming series tool (#30909)
This commit is contained in:
parent
ad7c113c0d
commit
f31122cbc3
@ -4,10 +4,13 @@
|
|||||||
|
|
||||||
frappe.ui.form.on("Naming Series", {
|
frappe.ui.form.on("Naming Series", {
|
||||||
onload: function(frm) {
|
onload: function(frm) {
|
||||||
frm.disable_save();
|
|
||||||
frm.events.get_doc_and_prefix(frm);
|
frm.events.get_doc_and_prefix(frm);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
refresh: function(frm) {
|
||||||
|
frm.disable_save();
|
||||||
|
},
|
||||||
|
|
||||||
get_doc_and_prefix: function(frm) {
|
get_doc_and_prefix: function(frm) {
|
||||||
frappe.call({
|
frappe.call({
|
||||||
method: "get_transactions",
|
method: "get_transactions",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user