From f71b47b4a8db2b4fffc1ad30b8cd3b5bc22b0339 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Aubort Date: Fri, 29 Aug 2008 13:34:54 +0200 Subject: [PATCH] * Removed group_admin bzr revid: jean-baptiste.aubort@camptocamp.com-20080829113454-2wh5zm8urll0e3s2 --- addons/hr/hr_security.xml | 14 +++++ addons/hr/hr_view.xml | 115 +++++++++----------------------------- 2 files changed, 39 insertions(+), 90 deletions(-) create mode 100644 addons/hr/hr_security.xml diff --git a/addons/hr/hr_security.xml b/addons/hr/hr_security.xml new file mode 100644 index 00000000000..4ec02e7aa55 --- /dev/null +++ b/addons/hr/hr_security.xml @@ -0,0 +1,14 @@ + + + + + HR Manager + + + + + Employee + + + + diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml index ee2f50bc6c2..126ca59dfad 100644 --- a/addons/hr/hr_view.xml +++ b/addons/hr/hr_view.xml @@ -87,18 +87,33 @@ [('parent_id','=',False)] - - - Employees hr.employee form tree,form - - + + + + + My Employees + hr.employee + form + tree,form + [('parent_id.user_id','=',uid)] + + New Employee @@ -106,8 +121,11 @@ form form,tree - - + + - - hr.holidays.form - hr.holidays - form - -
- - - - - - - -
- - hr.holidays.tree - hr.holidays - tree - - - - - - - - - - - hr.holidays.ask_form - hr.holidays - form - -
- - - - - - - - -
- - Vacation Requests - hr.holidays - form - - - - - - - - hr.holidays.status.form - hr.holidays.status - form - -
- - -
-
- - hr.holidays.status.tree - hr.holidays.status - tree - - - - - - - - Holiday Status - ir.actions.act_window - hr.holidays.status - form - tree,form - - - - hr.action.reason.form hr.action.reason