cleanup customize form
This commit is contained in:
parent
d49da9bff1
commit
227e9d3ac6
5
erpnext/patches/may_2012/customize_form_cleanup.py
Normal file
5
erpnext/patches/may_2012/customize_form_cleanup.py
Normal 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'""")
|
@ -362,5 +362,10 @@ patch_list = [
|
||||
'patch_file': 'reload_so_pending_items',
|
||||
'description': 'reload so pending items'
|
||||
},
|
||||
{
|
||||
'patch_module': 'patches.may_2012',
|
||||
'patch_file': 'customize_form_cleanup',
|
||||
'description': 'cleanup customize form records'
|
||||
},
|
||||
|
||||
]
|
Loading…
Reference in New Issue
Block a user