Merge branch 'shf_rename'
diff --git a/erpnext/patches/may_2012/customize_form_cleanup.py b/erpnext/patches/may_2012/customize_form_cleanup.py
new file mode 100644
index 0000000..c81bd22
--- /dev/null
+++ b/erpnext/patches/may_2012/customize_form_cleanup.py
@@ -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'""")
\ No newline at end of file
diff --git a/erpnext/patches/patch_list.py b/erpnext/patches/patch_list.py
index c9ae44b..583ced9 100644
--- a/erpnext/patches/patch_list.py
+++ b/erpnext/patches/patch_list.py
@@ -367,5 +367,10 @@
'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'
+ },
]