summaryrefslogtreecommitdiff
path: root/addons/hr/security
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2011-08-24 17:11:43 +0200
committerOlivier Dony <odo@openerp.com>2011-08-24 17:11:43 +0200
commitd45883d44abd462958f46155b88cc00078ccb86c (patch)
tree7ea780c81acc2cbcc7357d45c6f35461bfebefb1 /addons/hr/security
parent58fc194593402c98bc0f5c93765e96ec64f59e61 (diff)
[FIX] hr: HR Officer group should imply HR Employee group
Failure to have this dependency means that the drop-down for HR permissions on the user will always only show Employee even if the user also has Officer/Manager access bzr revid: odo@openerp.com-20110824151143-cysnlvetzrvqrfs2
Diffstat (limited to 'addons/hr/security')
-rw-r--r--addons/hr/security/hr_security.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/hr/security/hr_security.xml b/addons/hr/security/hr_security.xml
index 1ec0e42c47e..9a85bf71016 100644
--- a/addons/hr/security/hr_security.xml
+++ b/addons/hr/security/hr_security.xml
@@ -4,6 +4,7 @@
<record id="base.group_hr_user" model="res.groups">
<field name="name">Human Resources / HR Officer</field>
+ <field name="implied_ids" eval="[(4, ref('base.group_user'))]"/>
</record>
<record id="base.group_hr_manager" model="res.groups">
<field name="name">Human Resources / HR Manager</field>