replace createLocal in Client script only
This commit is contained in:
parent
0f8c67d776
commit
72d2a627f5
@ -1,4 +1,5 @@
|
|||||||
def execute():
|
def execute():
|
||||||
import webnotes
|
import webnotes
|
||||||
webnotes.conn.sql("""update `tabCustom Script`
|
webnotes.conn.sql("""update `tabCustom Script`
|
||||||
set script = replace(script, 'createLocal', 'wn.model.make_new_doc_and_get_name')""")
|
set script = replace(script, 'createLocal', 'wn.model.make_new_doc_and_get_name')
|
||||||
|
where script_type='Client'""")
|
Loading…
Reference in New Issue
Block a user