patch fix

This commit is contained in:
Rushabh Mehta 2011-06-30 08:28:36 +05:30
parent 79c2865048
commit c71eeb6c71

View File

@ -1203,7 +1203,7 @@ def execute(patch_no):
elif patch_no == 303:
pass
elif patch_no == 304:
sql("delete from `tabDocField` where parent = 'company' and label = 'Trash Company' and fieldtype = 'button'")
sql("delete from `tabDocField` where parent = 'company' and label = 'Trash Company' and fieldtype = 'button'")
reload_doc('setup', 'doctype', 'company')
elif patch_no == 305:
sql("update `tabDocField` set options = 'link:Company' where options='link:Company' and fieldname='company' and fieldtype='Select'")