2012-03-26 13:38:52 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
|
|
|
|
<!-- Update Preferences form !-->
|
|
|
|
<record id="view_users_form_simple_modif_mail" model="ir.ui.view">
|
|
|
|
<field name="name">res.users.preferences.form.mail</field>
|
|
|
|
<field name="model">res.users</field>
|
|
|
|
<field name="inherit_id" ref="base.view_users_form_simple_modif"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<data>
|
2012-08-10 09:56:30 +00:00
|
|
|
<field name="email" position="before">
|
2014-04-09 10:16:04 +00:00
|
|
|
<field name="notify_email" widget="radio" readonly="0"/>
|
2012-04-30 01:08:05 +00:00
|
|
|
</field>
|
2012-03-26 13:38:52 +00:00
|
|
|
</data>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2015-03-17 18:29:54 +00:00
|
|
|
<!-- Force update of groups' user view.
|
|
|
|
When updating (not new install), as `share` module is not loaded yet, shared groups
|
|
|
|
are taken into account when getting the group list, resulting to a different
|
|
|
|
organisation of the `Sharing` category (booleans instead of a selection) and thus,
|
|
|
|
different virtual field names.
|
|
|
|
When applying then inheritance of the following view, the check of field names
|
|
|
|
failed due to these virtual field name missmatch.
|
|
|
|
This is only for databases updated between a6eac0f08ee9100d1a44a4068d4f580b1c7c4b2c
|
|
|
|
and the commit introducing this line.
|
|
|
|
-->
|
|
|
|
<function model="res.groups" name="update_user_groups_view" />
|
|
|
|
|
2012-03-26 13:38:52 +00:00
|
|
|
<!-- Update user form !-->
|
|
|
|
<record id="view_users_form_mail" model="ir.ui.view">
|
|
|
|
<field name="name">res.users.form.mail</field>
|
|
|
|
<field name="model">res.users</field>
|
|
|
|
<field name="inherit_id" ref="base.view_users_form"/>
|
|
|
|
<field name="arch" type="xml">
|
2013-06-25 08:46:30 +00:00
|
|
|
<data>
|
|
|
|
<field name="signature" position="before">
|
2014-04-09 10:16:04 +00:00
|
|
|
<field name="notify_email" widget="radio"/>
|
2013-06-25 08:46:30 +00:00
|
|
|
</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"/>
|
2013-04-09 11:11:58 +00:00
|
|
|
</div>
|
2013-06-25 08:46:30 +00:00
|
|
|
<field name="alias_contact" string="Alias Accepts Emails From"
|
|
|
|
attrs="{'invisible': [('alias_domain', '=', False)]}"/>
|
|
|
|
<field name="display_groups_suggestions" groups="base.group_no_one"/>
|
|
|
|
</field>
|
|
|
|
</data>
|
2012-03-26 13:38:52 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
</data>
|
|
|
|
</openerp>
|