diff options
| author | Thibault Delavallée <tde@openerp.com> | 2016-08-17 10:20:27 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2016-09-01 13:19:24 +0200 |
| commit | 029d1baf359eabb7ed531287f3cb2b3b8d586d39 (patch) | |
| tree | 9ff174a0fb0c8423c0c9bf23f6d3ebc964e59054 /addons/mail/views/res_users_views.xml | |
| parent | 9c1af690d58068f3831bc7e22878d9b0065f8a28 (diff) | |
[REF] mail: remove required alias on users
This commit remove required alias on res.users model. It also removes the
inheritance of mail.alias.mixin. The field alias_id is kept and allow people
to use aliases on users if they want. However there is no default void alias
created for each user anymore.
Default from of mail.message does not use user alias anymore. Indeed this
creates issues with aliases not being correctly configured and can be
confusing compared to private channels. Using user aliases is therefore
now done manually instead of being a default behavior.
Diffstat (limited to 'addons/mail/views/res_users_views.xml')
| -rw-r--r-- | addons/mail/views/res_users_views.xml | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/addons/mail/views/res_users_views.xml b/addons/mail/views/res_users_views.xml index 7cd4b25689b..c8b18ba4f07 100644 --- a/addons/mail/views/res_users_views.xml +++ b/addons/mail/views/res_users_views.xml @@ -27,17 +27,8 @@ <field name="notify_email" widget="radio"/> </field> <field name="signature" position="before"> - <label for="alias_id" string="Messaging Alias" class="oe_read_only" - attrs="{'invisible': [('alias_domain', '=', False)]}"/> - <field name="alias_id" class="oe_read_only" required="0" nolabel="1" - attrs="{'invisible': [('alias_domain', '=', False)]}"/> - <label for="alias_name" string="Messaging Alias" class="oe_edit_only" - attrs="{'invisible': [('alias_domain', '=', False)]}"/> - <div class="oe_edit_only" attrs="{'invisible': [('alias_domain', '=', False)]}"> - <field name="alias_name" class="oe_inline"/>@<field name="alias_domain" class="oe_inline" readonly="1"/> - </div> - <field name="alias_contact" string="Alias Accepts Emails From" - attrs="{'invisible': [('alias_domain', '=', False)]}"/> + <field name="alias_id"/> + <field name="alias_contact" attrs="{'invisible': [('alias_id', '=', False)]}"/> </field> </data> </field> |
