You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
2.0 KiB
41 lines
2.0 KiB
<?xml version="1.0"?>
|
|
<odoo>
|
|
<record id="view_users_form_mail" model="ir.ui.view">
|
|
<field name="name">mail_digest res.users notification settings</field>
|
|
<field name="model">res.users</field>
|
|
<field name="inherit_id" ref="mail.view_users_form_mail"/>
|
|
<field name="arch" type="xml">
|
|
<field name="notify_email" position="replace">
|
|
<group name="notif_left">
|
|
<field name="notify_email" widget="radio" readonly="0"/>
|
|
<field name="notify_frequency" readonly="0"
|
|
attrs="{'invisible': [('notify_email', '!=', 'digest')]}" />
|
|
</group>
|
|
<group name="notif_right" attrs="{'invisible': [('notify_email','=', 'none')]}">
|
|
<label string="Enable/disable notifications by type" colspan="4" />
|
|
<field name="notify_conf_ids" nolabel="1" colspan="4" readonly="0" />
|
|
</group>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
|
|
<record id="view_users_form_simple_modif_mail" model="ir.ui.view">
|
|
<field name="name">mail_digest res.users notification preferences</field>
|
|
<field name="model">res.users</field>
|
|
<field name="inherit_id" ref="mail.view_users_form_simple_modif_mail"/>
|
|
<field name="arch" type="xml">
|
|
<field name="notify_email" position="replace">
|
|
<group name="notif_left">
|
|
<field name="notify_email" widget="radio" readonly="0"/>
|
|
<field name="notify_frequency" readonly="0"
|
|
attrs="{'invisible': [('notify_email', '!=', 'digest')]}" />
|
|
</group>
|
|
<group name="notif_right" attrs="{'invisible': [('notify_email','=', 'none')]}">
|
|
<label string="Enable/disable notifications by type" colspan="4" />
|
|
<field name="notify_conf_ids" nolabel="1" colspan="4" readonly="0" />
|
|
</group>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
</odoo>
|