social/mass_mailing_custom_unsubscribe/views/mail_unsubscription_reason_view.xml
Yajo aa7e32c2b1 [8.0][IMP][mass_mailing_custom_unsubscribe] Get reasons for unsubscription (#58)
* [8.0][IMP][mass_mailing_custom_unsubscribe] Get reasons for unsubscription.
2022-12-16 13:13:16 +01:00

61 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- © 2016 Jairo Llopis <jairo.llopis@tecnativa.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<openerp>
<data>
<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="name"/>
<field name="details_required"/>
<field name="sequence" invisible="True"/>
</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.marketing_configuration"
groups="mass_mailing.group_mass_mailing_campaign"
action="mail_unsubscription_reason_action"/>
</data>
</openerp>