From 0ca73938a3ff8dccbe8a0207535d3217e33604c8 Mon Sep 17 00:00:00 2001 From: William Braeckman Date: Tue, 8 Mar 2022 13:43:02 +0000 Subject: [PATCH] [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#86280 X-original-commit: 230f9185a7de214a0f3d445617bb9b0496d6fc49 Signed-off-by: Yannick Tivisse (yti) Signed-off-by: William Braeckman (wbr) --- addons/hr_attendance/views/hr_employee_view.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/hr_attendance/views/hr_employee_view.xml b/addons/hr_attendance/views/hr_employee_view.xml index ca6c9c41b56..a51240e8fdb 100644 --- a/addons/hr_attendance/views/hr_employee_view.xml +++ b/addons/hr_attendance/views/hr_employee_view.xml @@ -23,7 +23,7 @@ help="Worked hours last month">
- Hours + Hours Last Month @@ -93,7 +93,7 @@ help="Worked hours last month">
- Hours + Hours Last Month