<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2016 Pedro M. Baeza <pedro.baeza@tecnativa.com>
     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>

    <record id="view_mail_mass_mailing_list_form" model="ir.ui.view">
        <field name="model">mailing.list</field>
        <field name="inherit_id" ref="mass_mailing.mailing_list_view_form" />
        <field name="arch" type="xml">
            <field name="is_public" position="after">
                <field
                    name="not_cross_unsubscriptable"
                    attrs="{'invisible': [('is_public', '=', False)]}"
                />
            </field>
        </field>
    </record>

</odoo>
