[IMP] hr_timesheet: clean duration format in the portal

The duration format for timesheet durations has been set to "00:00"

closes odoo/odoo#46289

Related: odoo/enterprise#8787
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
Rémy Baranx (bar)
2020-02-25 14:03:34 +00:00
parent 659549d4e3
commit 880d0fc500
2 changed files with 2 additions and 2 deletions
@@ -51,7 +51,7 @@
<td><span t-esc="timesheet.name"/></td>
<td><span t-field="timesheet.date" t-options='{"widget": "date"}'/></td>
<td><span t-field="timesheet.employee_id"/></td>
<td class="text-right"><span t-field="timesheet.unit_amount" t-options='{"widget": "duration", "unit": "hour", "round": "minute"}'/></td>
<td class="text-right"><span t-field="timesheet.unit_amount" t-options='{"widget": "float_time"}'/></td>
</tr>
</t>
</tbody>
@@ -25,7 +25,7 @@
<td><t t-esc="timesheet.date" t-options='{"widget": "date"}'/></td>
<td><t t-esc="timesheet.name"/></td>
<td><t t-esc="timesheet.employee_id.name"/></td>
<td class="text-right"><span t-field="timesheet.unit_amount" t-options='{"widget": "duration", "unit": "hour", "round": "minute"}'/></td>
<td class="text-right"><span t-field="timesheet.unit_amount" t-options='{"widget": "float_time"}'/></td>
</tr>
</table>
</template>