Files
erpnext/erpnext/patches/may_2012/customize_form_cleanup.py
2012-07-19 13:40:31 +05:30

6 lines
215 B
Python

from __future__ import unicode_literals
def execute():
import webnotes
webnotes.conn.sql("delete from `tabCustomize Form Field`")
webnotes.conn.sql("""delete from `tabSingles`
where doctype='Customize Form'""")