summaryrefslogtreecommitdiff
path: root/addons/hr_timesheet/security
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2016-09-22 14:25:21 +0200
committerYannick Tivisse <yti@odoo.com>2016-09-22 14:42:06 +0200
commita090cbea73d86106b3a9afa1bbbf02678411ee46 (patch)
treedb0e748ba467451cd8bf3cbe56a77ee4f3673462 /addons/hr_timesheet/security
parentf021707d50482bb87087addd5900830510840510 (diff)
[FIX] hr_timesheet: merge hr_timesheet Officer and Manager access right
There's no real difference between the 2 access rights
Diffstat (limited to 'addons/hr_timesheet/security')
-rw-r--r--addons/hr_timesheet/security/hr_timesheet_security.xml8
1 files changed, 1 insertions, 7 deletions
diff --git a/addons/hr_timesheet/security/hr_timesheet_security.xml b/addons/hr_timesheet/security/hr_timesheet_security.xml
index eca4cef48ad..1a95247cf0b 100644
--- a/addons/hr_timesheet/security/hr_timesheet_security.xml
+++ b/addons/hr_timesheet/security/hr_timesheet_security.xml
@@ -4,16 +4,10 @@
<field name="name">Officer</field>
<field name="category_id" ref="base.module_category_hr_timesheet"/>
<field name="implied_ids" eval="[(4, ref('hr.group_hr_user'))]"/>
- </record>
-
- <record id="group_hr_timesheet_manager" model="res.groups">
- <field name="name">Manager</field>
- <field name="category_id" ref="base.module_category_hr_timesheet"/>
- <field name="implied_ids" eval="[(4, ref('hr_timesheet.group_hr_timesheet_user'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<record id="base.default_user" model="res.users">
- <field name="groups_id" eval="[(4,ref('hr_timesheet.group_hr_timesheet_manager'))]"/>
+ <field name="groups_id" eval="[(4,ref('hr_timesheet.group_hr_timesheet_user'))]"/>
</record>
</odoo> \ No newline at end of file