diff --git a/patches/december_2012/replace_createlocal.py b/patches/december_2012/replace_createlocal.py index b37ba6bf17..c6f4bae4ae 100644 --- a/patches/december_2012/replace_createlocal.py +++ b/patches/december_2012/replace_createlocal.py @@ -1,4 +1,5 @@ def execute(): import webnotes webnotes.conn.sql("""update `tabCustom Script` - set script = replace(script, 'createLocal', 'wn.model.make_new_doc_and_get_name')""") \ No newline at end of file + set script = replace(script, 'createLocal', 'wn.model.make_new_doc_and_get_name') + where script_type='Client'""") \ No newline at end of file