brotherton-erpnext/erpnext/patches/profile_mark_not_in_create.py

11 lines
175 B
Python

import webnotes
def execute():
"""
Mark DocType Profile as 'not_in_create'
"""
webnotes.conn.sql("""
UPDATE `tabDocType`
SET in_create=1
WHERE name='Profile'
""")