brotherton-erpnext/erpnext/patches/may_2012/customize_form_cleanup.py
2012-05-18 16:55:20 +05:30

5 lines
175 B
Python

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