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.
44 lines
2.1 KiB
44 lines
2.1 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="notification_type" position="replace">
|
|
<group name="notif_left">
|
|
<field name="notification_type" widget="radio" readonly="0"/>
|
|
<field name="digest_mode" />
|
|
<field name="digest_frequency" readonly="0"
|
|
attrs="{'invisible': [('digest_mode', '=', False)]}" />
|
|
</group>
|
|
<group name="notif_right" attrs="{'invisible': [('notification_type','=', 'inbox')]}">
|
|
<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="notification_type" position="replace">
|
|
<group name="notif_left">
|
|
<field name="digest_mode" />
|
|
<field name="notification_type" widget="radio" readonly="0"/>
|
|
<field name="digest_frequency" readonly="0"
|
|
attrs="{'invisible': [('digest_mode', '=', False)]}" />
|
|
</group>
|
|
<group name="notif_right" attrs="{'invisible': [('notification_type','=', 'inbox')]}">
|
|
<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>
|