mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-05 06:28:29 +00:00
Merge branch 'master' of github.com:webnotes/erpnext
This commit is contained in:
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')""")
|
||||
@@ -737,4 +737,8 @@ patch_list = [
|
||||
'patch_module': 'patches.december_2012',
|
||||
'patch_file': 'file_list_rename',
|
||||
},
|
||||
{
|
||||
'patch_module': 'patches.december_2012',
|
||||
'patch_file': 'replace_createlocal',
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user