Skip to content
Snippets Groups Projects
Commit 230f9185 authored by William Braeckman's avatar William Braeckman
Browse files

[FIX] hr_attendance: fix wrong widget being used


The smartbutton for the number of hours in the attendance smart button
on employees and user did not use the right widget and could display
invalid data like '1.8 hours last month'.

TaskId-

closes odoo/odoo#86032

Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
parent de8d1632
Branches
Tags
No related merge requests found
......@@ -46,7 +46,7 @@
help="Worked hours last month">
<div class="o_field_widget o_stat_info">
<span class="o_stat_value">
<field name="hours_last_month_display"/> Hours
<field name="hours_last_month_display" widget="float_time"/> Hours
</span>
<span class="o_stat_text">
Last Month
......@@ -100,7 +100,7 @@
help="Worked hours last month">
<div class="o_field_widget o_stat_info">
<span class="o_stat_value">
<field name="hours_last_month_display"/> Hours
<field name="hours_last_month_display" widget="float_time"/> Hours
</span>
<span class="o_stat_text">
Last Month
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment