diff options
| author | jbm-odoo <jbm@odoo.com> | 2020-07-15 09:12:23 +0000 |
|---|---|---|
| committer | jbm-odoo <jbm@odoo.com> | 2020-08-03 15:11:54 +0000 |
| commit | a9a64ffc0c5074f95e7efb1cf645dfdac5689245 (patch) | |
| tree | 33e8a7517be30fb75460563268f957fc95d4d80c /addons/hr_attendance/views | |
| parent | 01f93f7a4be95fce924755afa228583f442fe28e (diff) | |
[FIX] hr_attendance: Kiosk mode
After #56a8c9e4311d24c33b7ad08b8230e4be345a85b8 we check access rights in function fields_view_get,
so a user with only 'Kiosk Attendance' right can't see public
employee profile.
After this commit:
In attendance application, we always show public employee profile
as it not usefull to show more information in this application.
closes odoo/odoo#55341
Taskid: 2298803
X-original-commit: 1fbb8f1ebcb805317b93e0b4ea363aaec8e3e36e
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/hr_attendance/views')
| -rw-r--r-- | addons/hr_attendance/views/hr_employee_view.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hr_attendance/views/hr_employee_view.xml b/addons/hr_attendance/views/hr_employee_view.xml index e1b6d948d81..63c593fc082 100644 --- a/addons/hr_attendance/views/hr_employee_view.xml +++ b/addons/hr_attendance/views/hr_employee_view.xml @@ -152,7 +152,7 @@ <record id="hr_employee_attendance_action_kanban" model="ir.actions.act_window"> <field name="name">Employees</field> - <field name="res_model">hr.employee</field> + <field name="res_model">hr.employee.public</field> <field name="view_mode">kanban</field> <field name="view_id" ref="hr_employees_view_kanban"/> <field name="target">fullscreen</field> |
