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'""")

View File

@ -362,5 +362,10 @@ patch_list = [
'patch_file': 'reload_so_pending_items', 'patch_file': 'reload_so_pending_items',
'description': 'reload so pending items' 'description': 'reload so pending items'
}, },
{
'patch_module': 'patches.may_2012',
'patch_file': 'customize_form_cleanup',
'description': 'cleanup customize form records'
},
] ]