Skip to content

Commit e55ab46

Browse files
committed
[IMP] base: align icon spacing with hr override in user form
When hr is installed if an employee is linked to a user we show its email instead of the partner email. The div containing this email adds me-1 to its icon which is not done in the base view. We add the spacing in the base view so that fields remain aligned with the login, which does not move. task-5130854 [related]: db3dee1 Part-of: odoo#230473 Related: odoo/enterprise#96591 Signed-off-by: Thibault Delavallee (tde) <[email protected]>
1 parent 8773228 commit e55ab46

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

odoo/addons/base/views/res_users_views.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,16 +133,16 @@
133133
<field name="name" placeholder="e.g. John Doe" required="1"/>
134134
</h1>
135135
<h5 name="h5_login" class="d-flex align-items-baseline mb-0">
136-
<i class="fa fa-fw fa-envelope text-primary" title="Login / Email" invisible="login != email"/>
137-
<i class="fa fa-fw fa-key text-primary" title="Login" invisible="login == email"/>
136+
<i class="fa fa-fw fa-envelope me-1 text-primary" title="Login / Email" invisible="login != email"/>
137+
<i class="fa fa-fw fa-key me-1 text-primary" title="Login" invisible="login == email"/>
138138
<field name="login" placeholder="Login" class="w-75"/>
139139
</h5>
140140
<h5 name="h5_email" class="d-flex align-items-baseline mb-0" invisible="login == email">
141-
<i class="fa fa-fw fa-envelope text-primary" title="Email"/>
141+
<i class="fa fa-fw fa-envelope me-1 text-primary" title="Email"/>
142142
<field name="email" placeholder="Email" class="w-75"/>
143143
</h5>
144144
<h5 name="h5_phone" class="d-flex align-items-baseline mb-0">
145-
<i class="fa fa-fw fa-phone text-primary" title="Email"/>
145+
<i class="fa fa-fw fa-phone me-1 text-primary" title="Email"/>
146146
<field name="phone" placeholder="Phone" class="w-75"/>
147147
</h5>
148148
</div>

0 commit comments

Comments
 (0)