[IMP] hr_timesheet: float_time widget for pivot view

As timesheet duration (unit_amount) is already
stored in hours in database, the pivot reporting
view should use the float_time widget, even when
encoding in days.

Task #39079
This commit is contained in:
jem-odoo
2018-08-13 14:33:48 +02:00
parent 70941ab9b1
commit 55ddb7aa66
@@ -70,7 +70,7 @@
<pivot string="Timesheet">
<field name="employee_id" type="row"/>
<field name="date" interval="month" type="col"/>
<field name="unit_amount" type="measure"/>
<field name="unit_amount" type="measure" widget="float_time"/>
</pivot>
</field>
</record>