Skip to content
Snippets Groups Projects
Commit 6752e432 authored by Anh Thao Pham (pta)'s avatar Anh Thao Pham (pta)
Browse files

[IMP] hr_timesheet_attendance: allow to display Days in timesheets

Display Days instead of Hours in "HR Timesheet/Attendance Report" if encoding unit for timesheets is set to Days
parent 7e49130d
No related branches found
No related tags found
No related merge requests found
......@@ -18,9 +18,9 @@
<field name="arch" type="xml">
<pivot string="timesheet attendance" disable_linking="True">
<field name="date" interval="month" type="row"/>
<field name="total_attendance" type="measure" widget="float_time"/>
<field name="total_timesheet" type="measure" widget="float_time"/>
<field name="total_difference" type="measure" widget="float_time"/>
<field name="total_attendance" type="measure" widget="timesheet_uom"/>
<field name="total_timesheet" type="measure" widget="timesheet_uom"/>
<field name="total_difference" type="measure" widget="timesheet_uom"/>
</pivot>
</field>
</record>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment