summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomainLibert <rli@odoo.com>2019-10-01 10:16:05 +0000
committerRomainLibert <rli@odoo.com>2019-10-01 10:16:05 +0000
commit44a500c8d04873b92d3c1eeeb045d4ca57c545ae (patch)
tree0c5d9cbd8724822d2ef472f1ad3d18ef32d8bf27
parent672cad0af282c89a21446994750f6c64da28825b (diff)
[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>
-rw-r--r--addons/hr/views/res_users.xml5
1 files changed, 1 insertions, 4 deletions
diff --git a/addons/hr/views/res_users.xml b/addons/hr/views/res_users.xml
index cc185baf80e..8b8a142e3d5 100644
--- a/addons/hr/views/res_users.xml
+++ b/addons/hr/views/res_users.xml
@@ -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