From e678fd472a4c7ef8909ea883190e70c2096017a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Degrave?= Date: Tue, 28 Dec 2010 16:34:17 +0100 Subject: [PATCH] [IMP] access rights, menus for HR bzr revid: fde@openerp.com-20101228153417-ps9ql3h4lij87jx8 --- addons/hr/hr_view.xml | 7 +++---- addons/hr_attendance/security/ir.model.access.csv | 3 ++- addons/hr_attendance/wizard/hr_attendance_sign_in_out.py | 4 ++-- addons/hr_contract/hr_contract_view.xml | 4 ++-- addons/hr_evaluation/hr_evaluation_view.xml | 2 +- addons/hr_evaluation/security/hr_evaluation_security.xml | 5 +---- addons/hr_expense/board_hr_expense_view.xml | 2 +- addons/hr_holidays/board_hr_holidays_view.xml | 2 +- addons/hr_holidays/hr_holidays_view.xml | 3 ++- addons/hr_holidays/hr_holidays_wizard.xml | 3 +-- addons/hr_holidays/security/ir.model.access.csv | 2 ++ addons/hr_payroll/hr_payroll_view.xml | 2 +- .../board_hr_recruitment_statistical_view.xml | 2 +- addons/knowledge/security/ir.model.access.csv | 1 + 14 files changed, 21 insertions(+), 21 deletions(-) diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml index 076c207f850..5c257e9e6c9 100644 --- a/addons/hr/hr_view.xml +++ b/addons/hr/hr_view.xml @@ -3,13 +3,12 @@ - + - + - + diff --git a/addons/hr_evaluation/security/hr_evaluation_security.xml b/addons/hr_evaluation/security/hr_evaluation_security.xml index 49b0e19177b..1520b61b55a 100644 --- a/addons/hr_evaluation/security/hr_evaluation_security.xml +++ b/addons/hr_evaluation/security/hr_evaluation_security.xml @@ -19,8 +19,5 @@ - - - - \ No newline at end of file + diff --git a/addons/hr_expense/board_hr_expense_view.xml b/addons/hr_expense/board_hr_expense_view.xml index 4b64a1bdf19..0493f628ebd 100644 --- a/addons/hr_expense/board_hr_expense_view.xml +++ b/addons/hr_expense/board_hr_expense_view.xml @@ -2,7 +2,7 @@ - + - + - + + + sequence="6"/> diff --git a/addons/hr_holidays/security/ir.model.access.csv b/addons/hr_holidays/security/ir.model.access.csv index f350b73ed64..6515f0f9730 100644 --- a/addons/hr_holidays/security/ir.model.access.csv +++ b/addons/hr_holidays/security/ir.model.access.csv @@ -1,6 +1,8 @@ "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" "access_hr_holydays_status_user","hr.holidays.status user","model_hr_holidays_status","base.group_hr_user",1,1,1,1 "access_hr_holidays_user","hr.holidays.user","model_hr_holidays","base.group_hr_user",1,1,1,1 +"access_hr_holidays_employee","hr.holidays.employee","model_hr_holidays","base.group_user",1,1,1,1 +"access_hr_holydays_status_employee","hr.holidays.status employee","model_hr_holidays_status","base.group_user",1,0,0,0 "access_hr_holidays_remain_user","hr.holidays.ramain.user","model_hr_holidays_remaining_leaves_user","base.group_hr_user",1,1,1,1 "access_resource_calendar_leaves_manager","resource_calendar_leaves_manager","resource.model_resource_calendar_leaves","base.group_hr_manager",1,1,1,1 "access_available_holidays_report_user","hr.available.holidays.report.user","model_available_holidays_report","base.group_hr_user",1,1,1,1 diff --git a/addons/hr_payroll/hr_payroll_view.xml b/addons/hr_payroll/hr_payroll_view.xml index 8ecd991ce8d..5e1cba9948b 100644 --- a/addons/hr_payroll/hr_payroll_view.xml +++ b/addons/hr_payroll/hr_payroll_view.xml @@ -3,7 +3,7 @@ - + diff --git a/addons/hr_recruitment/board_hr_recruitment_statistical_view.xml b/addons/hr_recruitment/board_hr_recruitment_statistical_view.xml index 0cf34e36de4..fee3e4e8b78 100644 --- a/addons/hr_recruitment/board_hr_recruitment_statistical_view.xml +++ b/addons/hr_recruitment/board_hr_recruitment_statistical_view.xml @@ -38,7 +38,7 @@ - +