brotherton-erpnext/erpnext/patches/may_2012/customize_form_cleanup.py

5 lines
175 B
Python
Raw Normal View History

2012-05-18 11:25:20 +00:00
def execute():
import webnotes
webnotes.conn.sql("delete from `tabCustomize Form Field`")
webnotes.conn.sql("""delete from `tabSingles`
where doctype='Customize Form'""")