removed permission match:owner from Employee DocType

This commit is contained in:
Ravi Dey 2011-06-27 12:48:56 +05:30
parent 48671df12c
commit 8d3f4b6fd8

View File

@ -1,6 +1,6 @@
# REMEMBER to update this
# ========================
last_patch = 298
last_patch = 299
#-------------------------------------------
@ -1190,3 +1190,5 @@ def execute(patch_no):
sql("update `tabDocField` set options = 'Link:Company' where parent = 'Attendance' and fieldname = 'company'")
sql("update `tabDocField` set options = 'Link:Company' where parent = 'Expense Voucher' and fieldname = 'company'")
sql("update `tabDocField` set options = 'Link:Company' where parent = 'Appraisal' and fieldname = 'company'")
elif patch_no == 299:
sql("update `tabDocPerm` set `match` = NULL where parent = 'Employee' and role = 'Employee'")