summaryrefslogtreecommitdiff
path: root/addons/mail/views
diff options
context:
space:
mode:
authorryv-odoo <ryv@odoo.com>2019-11-29 12:46:24 +0000
committerThibault Delavallée <tde@odoo.com>2020-04-17 06:51:06 +0000
commit4385ed024e9ce9bfa9f733c30cc163d2f10bfd60 (patch)
treeda0b86b8279ec997b1f16da1a2bdb2f430f9a748 /addons/mail/views
parente3189298cb4dbf86692195de148fb4d7ccad82e1 (diff)
[REM] mail: remove leftover mail alias fields from res.users
A mail alias is still linked with the res.users model with 2 fields, alias_id and alias_contact (related). It is not used anymore. We can therefore remove those fields. Aliases were added at 052f2ace57e20f06980bc8fadf37b32be1921420 . Purpose was to be able to discuss with users directly using Odoo as a mailbox. However it was not usable and was quickly deactivated. Aliases on res.users was removed at 029d1baf359eabb7ed531287f3cb2b3b8d586d39 . It was decided at that time to not support alias on users anymore as it was creating more issues than adding communication facility. This commit finally removes the unused fields. If necessary in some custom flow they can always be added through studio. LINKS Task ID 1919277 Community PR odoo/odoo#41160 Enterprise PR odoo/enterprise#6983 Upgrade PR odoo/upgrade#872 Co-Authored-By: Rémy Voet <ryv@odoo.com> Co-Authored-By: Thibault Delavallée <tde@odoo.com>
Diffstat (limited to 'addons/mail/views')
-rw-r--r--addons/mail/views/res_users_views.xml4
1 files changed, 0 insertions, 4 deletions
diff --git a/addons/mail/views/res_users_views.xml b/addons/mail/views/res_users_views.xml
index c2d3d9ce825..f402858a1b5 100644
--- a/addons/mail/views/res_users_views.xml
+++ b/addons/mail/views/res_users_views.xml
@@ -26,10 +26,6 @@
<field name="signature" position="before">
<field name="notification_type" widget="radio"/>
</field>
- <field name="signature" position="before">
- <field name="alias_id"/>
- <field name="alias_contact" attrs="{'invisible': [('alias_id', '=', False)]}"/>
- </field>
</data>
</field>
</record>