mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-17 08:35:00 +00:00
8 lines
312 B
Python
8 lines
312 B
Python
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
|
|
# License: GNU General Public License v3. See license.txt
|
|
|
|
def execute():
|
|
import webnotes
|
|
webnotes.conn.sql("""update `tabCustom Script`
|
|
set script = replace(script, 'createLocal', 'wn.model.make_new_doc_and_get_name')
|
|
where script_type='Client'""") |