Files
odoo_source/addons/website_mass_mailing/views/mass_mailing_view.xml
T
Simon Lejeune 03aae0d3d5 [FIX] mass_mailing, website_mass_mailing: "group_website_popup_on_exit" group
This group was defined in the mass_mailing module but is only working when
you install website_mass_mailing. What this group does is allowing to insert
a newsletter snippet in the page, thus it has nothing to do in the mass_mailing
module which doesn't depend on website. Also, the snippet itself was already
defined in website_mass_mailing.

Moved all the things to website_mass_mailing.
2016-08-26 15:18:36 +02:00

23 lines
1.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record model="ir.ui.view" id="view_mail_mass_mailing_list_form">
<field name="name">mail.mass_mailing.list.form</field>
<field name="model">mail.mass_mailing.list</field>
<field name="inherit_id" ref="mass_mailing.view_mail_mass_mailing_list_form"/>
<field name="arch" type="xml">
<xpath expr="//sheet" position="inside">
<notebook groups="website_mass_mailing.group_website_popup_on_exit">
<page string="Popup Content">
<field name="popup_content" widget="html_frame" options="{'editor_url': '/website_mass_mailing/field/popup_content'}"/>
</page>
</notebook>
</xpath>
<xpath expr="//div[@class='oe_title']" position="inside">
<group groups="website_mass_mailing.group_website_popup_on_exit">
<field name="popup_redirect_url"/>
</group>
</xpath>
</field>
</record>
</odoo>