replace createlocal

This commit is contained in:
Nabin Hait 2012-12-13 18:36:49 +05:30
parent 22c3f63edd
commit 9db3b6dc71
2 changed files with 8 additions and 0 deletions

View 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')""")

View File

@ -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',
},
]