diff options
| author | Jorge Pinna Puissant <jpp@odoo.com> | 2020-07-09 10:18:28 +0000 |
|---|---|---|
| committer | Jorge Pinna Puissant <jpp@odoo.com> | 2020-07-16 07:40:35 +0000 |
| commit | e0baa3be18dc113ddecf9dfa7cb3a4533108d27a (patch) | |
| tree | ef63038b70581a0aeffa512cf84d98513000b16a | |
| parent | 978f8ca4ef6bbae25589976e83c63000a127c1c6 (diff) | |
[FIX] hr_timesheet: timesheet button in employees view
Before this commit, only the users with timesheet 'Administrator' rights
can see the Timesheet button in the employees view.
Now, the users with timesheet 'See all Timesheet' rights can see the
Timesheet button in the employees view.
This is the behaviour in version 12.
opw-2285695
closes odoo/odoo#54543
X-original-commit: c839ecda6c696ac54ceaf24b2ee1816cb358052a
Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
| -rw-r--r-- | addons/hr_timesheet/views/hr_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hr_timesheet/views/hr_views.xml b/addons/hr_timesheet/views/hr_views.xml index d4c43ad53d5..0a2278e92d7 100644 --- a/addons/hr_timesheet/views/hr_views.xml +++ b/addons/hr_timesheet/views/hr_views.xml @@ -57,7 +57,7 @@ <field name="name">hr.department.kanban.inherit</field> <field name="model">hr.department</field> <field name="inherit_id" ref="hr.hr_department_view_kanban"/> - <field name="groups_id" eval="[(4,ref('hr_timesheet.group_timesheet_manager'))]"/> + <field name="groups_id" eval="[(4,ref('hr_timesheet.group_hr_timesheet_user'))]"/> <field name="arch" type="xml"> <data> <xpath expr="//div[hasclass('o_kanban_manage_reports')]" position="inside"> |
