summaryrefslogtreecommitdiff
path: root/addons/hr
diff options
context:
space:
mode:
authorbat-odoo <bat@odoo.com>2020-09-23 11:32:04 +0000
committerBarad Mahendra <mba@openerp.com>2020-09-28 10:00:37 +0000
commit27337bfa932411d9b746cbe56f03ba888538044e (patch)
treea5fdaa1d32cf0ab2a2ff4e889efe17463542dc5e /addons/hr
parentf8abb476fe0475799a3da66d49a92c7de2ace8a0 (diff)
[FIX] hr: Fix the display of the chat icon on employee form
Currently, in employee form view edit mode, the icon of chat is displayed underneath the name but it should be dsiaplyed in right side of name like in readonly mode. So in this commit, Fix the icon display issue and icon should be right side of the name. closes odoo/odoo#58561 Taskid: 2344588 X-original-commit: 903c8ef53cb0187075ce9db705a3d0b6faa32c8c Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/hr')
-rw-r--r--addons/hr/views/hr_employee_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hr/views/hr_employee_views.xml b/addons/hr/views/hr_employee_views.xml
index d520f5931d4..d2df1ea82f4 100644
--- a/addons/hr/views/hr_employee_views.xml
+++ b/addons/hr/views/hr_employee_views.xml
@@ -75,7 +75,7 @@
<widget name="web_ribbon" title="Archived" bg_color="bg-danger" attrs="{'invisible': [('active', '=', True)]}"/>
<field name="image_1920" widget='image' class="oe_avatar" options='{"zoom": true, "preview_image":"image_128"}'/>
<div class="oe_title">
- <h1>
+ <h1 class="d-flex">
<field name="name" placeholder="Employee's Name" required="True"/>
<a title="Chat" icon="fa-comments" href="#" class="ml8 o_employee_chat_btn" invisible="not context.get('chat_icon')" attrs="{'invisible': [('user_id','=', False)]}" role="button"><i class="fa fa-comments"/></a>
</h1>