replace createlocal
This commit is contained in:
parent
22c3f63edd
commit
9db3b6dc71
4
patches/december_2012/replace_createlocal.py
Normal file
4
patches/december_2012/replace_createlocal.py
Normal file
@ -0,0 +1,4 @@
|
||||
def execute():
|
||||
import webnotes
|
||||
webnotes.conn.sql("""update `tabCustom Script`
|
||||
set script = replace(script, 'createLocal', 'wn.model.make_new_doc_and_get_name')""")
|
@ -733,4 +733,8 @@ patch_list = [
|
||||
'patch_module': 'patches.december_2012',
|
||||
'patch_file': 'fix_default_print_format',
|
||||
},
|
||||
{
|
||||
'patch_module': 'patches.december_2012',
|
||||
'patch_file': 'replace_createlocal',
|
||||
},
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user