[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>
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user