company reload_doc delete docfield trashcompany button

This commit is contained in:
Ravi Dey 2011-06-29 18:15:12 +05:30
parent 27c5b4075f
commit c674e43885

View File

@ -1203,4 +1203,5 @@ def execute(patch_no):
elif patch_no == 303:
pass
elif patch_no == 304:
reload_doc('setup', 'doctype', 'company')
sql("delete from `tabDocField` where parent = 'company' and label = 'Trash Company' and fieldtype = 'button'")
reload_doc('setup', 'doctype', 'company')