[FIX] hr_attendance: remove unnecessary view modes

Commit 6d11097a9b added view mode `tree,activity` in this action which is not necessary for Attendance Kiosk mode. (and also not working when selecting an employee from `tree` view)

With this commit, we remove extra view modes which are not required/working for this action.

closes odoo/odoo#50528

Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
Swapnesh Shah
2020-05-03 17:12:16 +00:00
committed by GitHub
parent 5e94c70541
commit c3184e7993
@@ -153,7 +153,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="view_mode">kanban,tree,activity</field>
<field name="view_mode">kanban</field>
<field name="view_id" ref="hr_employees_view_kanban"/>
<field name="target">fullscreen</field>
<field name="help" type="html">