[FIX] hr: make the email field visible again

You DO want to be able to change your user's email address from the
employee profile

closes odoo/odoo#37674

Signed-off-by: Romain Libert (rli) <rli@odoo.com>
This commit is contained in:
RomainLibert
2019-10-01 10:16:05 +00:00
parent 672cad0af2
commit 44a500c8d0
+1 -4
View File
@@ -16,9 +16,6 @@
<h1 position="replace"/>
<widget name="notification_alert" position="replace"/>
<xpath expr="//field[@name='image_1920']" position="replace"/>
<xpath expr="//field[@name='email']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>
<field name="signature" position="replace" />
<xpath expr="//group[@name='preference_contact']" position="before">
<group>
@@ -56,7 +53,7 @@
<header>
<button name="preference_change_password" type="object" string="Change password" class="btn btn-secondary"/>
</header>
<widget name="notification_alert" class="mb-0"/>
<widget name="notification_alert" class="mb-0"/>
<sheet>
<div class="oe_button_box" name="button_box">
<button