From 6820eef1e9dfe2695560ebcf265a5d69c38e4f91 Mon Sep 17 00:00:00 2001
From: Adrien Dieudonne <adr@odoo.com>
Date: Mon, 22 Feb 2021 15:05:07 +0000
Subject: [PATCH] [FIX] hr_work_entry: unit of period not aligned

Before this commit, 'hours' was on the next row instead of the same line.

closes odoo/odoo#66615

Signed-off-by: Pierre Paridans <pparidans@users.noreply.github.com>
---
 addons/hr_work_entry/views/hr_work_entry_views.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/addons/hr_work_entry/views/hr_work_entry_views.xml b/addons/hr_work_entry/views/hr_work_entry_views.xml
index 002fc8310a9b..3b9826c765b4 100644
--- a/addons/hr_work_entry/views/hr_work_entry_views.xml
+++ b/addons/hr_work_entry/views/hr_work_entry_views.xml
@@ -57,7 +57,7 @@
                             <field name="date_start" attrs="{'readonly': [('state', '!=', 'draft')]}" />
                             <field name="date_stop" attrs="{'readonly': [('state', '!=', 'draft')]}" />
                             <label for="duration" string="Period"/>
-                            <div>
+                            <div class="o_row">
                                 <field name="duration" nolabel="1" attrs="{'readonly': [('state', '!=', 'draft')]}" /><span class="ml8">Hours</span>
                             </div>
                             <field name="company_id" invisible="1"/>
-- 
GitLab