[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#58623 Taskid: 2344588 X-original-commit: 903c8ef53cb0187075ce9db705a3d0b6faa32c8c Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user