[FIX] hr_timesheet_attendance: disable link from timesheet attendance report

Before this commit, linking was enable for pivot view of hr.timesheet.attendance.report
Opening the record is useless since all information is in
the pivot view.
Also, no list view is defined, therefore an empty list view is opened.

This commit disable linking.
This commit is contained in:
Swapnesh Shah
2019-07-10 12:19:13 +02:00
committed by Lucas Lefèvre
parent fa58a842f4
commit b471ec98ed
@@ -15,7 +15,7 @@
<field name="name">HR timesheet attendance report: Pivot</field>
<field name="model">hr.timesheet.attendance.report</field>
<field name="arch" type="xml">
<pivot string="timesheet attendance">
<pivot string="timesheet attendance" disable_linking="True">
<field name="user_id" type="row"/>
<field name="date" interval="day" type="col"/>
<field name="total_difference" type="measure" widget="float_time"/>