[FIX] hr_holidays: fixed Uom display issue

Before this commit, there was a huge gap between Uom and duration in time off
wizard.
In this commit, moved the Uom closer to duration.

task-3482508

closes odoo/odoo#138571

X-original-commit: 56b9243bc583b5f9b681b7c34355b505d892e313
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
pash-odoo
2023-10-13 10:36:07 +00:00
parent cdca92ded6
commit af51d1ab19
+2 -2
View File
@@ -300,9 +300,9 @@
<label for="number_of_days_display" string="Duration" invisible="request_unit_half and leave_type_request_unit != 'hour'" />
<div name="duration_display" invisible="request_unit_half and leave_type_request_unit != 'hour'">
<div invisible="request_unit_half or request_unit_hours" class="o_row">
<div invisible="request_unit_half or request_unit_hours">
<field name="number_of_days_display" class="oe_inline" />
<span>Days</span>
<span class="ms-3">Days</span>
</div>
<div invisible="leave_type_request_unit != 'hour'" class="o_row">
<field name="number_of_hours_text" />