From 8d3f4b6fd888382a778fb670ed5800455da9edab Mon Sep 17 00:00:00 2001 From: Ravi Dey Date: Mon, 27 Jun 2011 12:48:56 +0530 Subject: [PATCH] removed permission match:owner from Employee DocType --- patches/patch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/patches/patch.py b/patches/patch.py index d4d861f5b8..111d2e8e98 100644 --- a/patches/patch.py +++ b/patches/patch.py @@ -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'")