social/mass_mailing_custom_unsubscribe/views/mail_unsubscription_reason_view.xml
2022-12-16 13:13:16 +01:00

59 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2016 Jairo Llopis <jairo.llopis@tecnativa.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="mail_unsubscription_reason_view_form" model="ir.ui.view">
<field name="name">Mail Unsubscription Reason Form</field>
<field name="model">mail.unsubscription.reason</field>
<field name="arch" type="xml">
<form>
<sheet>
<group>
<field name="name" />
<field name="details_required" />
<field name="sequence" />
</group>
<div class="oe_chatter" />
</sheet>
</form>
</field>
</record>
<record id="mail_unsubscription_reason_view_tree" model="ir.ui.view">
<field name="name">Mail Unsubscription Reason Tree</field>
<field name="model">mail.unsubscription.reason</field>
<field name="arch" type="xml">
<tree>
<field name="sequence" widget="handle" />
<field name="name" />
<field name="details_required" />
</tree>
</field>
</record>
<record id="mail_unsubscription_reason_view_search" model="ir.ui.view">
<field name="name">Mail Unsubscription Reason Search</field>
<field name="model">mail.unsubscription.reason</field>
<field name="arch" type="xml">
<search>
<field name="name" />
<field name="details_required" />
</search>
</field>
</record>
<act_window
id="mail_unsubscription_reason_action"
name="Unsubscription Reasons"
res_model="mail.unsubscription.reason"
/>
<menuitem
id="mail_unsubscription_reason_menu"
parent="mass_mailing.mass_mailing_configuration"
action="mail_unsubscription_reason_action"
/>
</odoo>