Rushabh Mehta | e67d1fb | 2013-08-05 14:59:54 +0530 | [diff] [blame] | 1 | # Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. |
2 | # License: GNU General Public License v3. See license.txt | ||||
3 | |||||
Nabin Hait | 9db3b6d | 2012-12-13 18:36:49 +0530 | [diff] [blame] | 4 | def execute(): |
5 | import webnotes | ||||
6 | webnotes.conn.sql("""update `tabCustom Script` | ||||
Anand Doshi | 72d2a62 | 2012-12-13 19:35:32 +0530 | [diff] [blame] | 7 | set script = replace(script, 'createLocal', 'wn.model.make_new_doc_and_get_name') |
8 | where script_type='Client'""") |