[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user