cleanup customize form

This commit is contained in:
Anand Doshi
2012-05-18 16:55:20 +05:30
parent d49da9bff1
commit 227e9d3ac6
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
def execute():
import webnotes
webnotes.conn.sql("delete from `tabCustomize Form Field`")
webnotes.conn.sql("""delete from `tabSingles`
where doctype='Customize Form'""")