<?xml version="1.0"?>
<form string="Mailing filters">
                <sheet>
                    <group>
                        <group>
                            <field name="name"/>
                            <field name="mailing_model_id" options="{'no_create': True, 'no_open': True}"/>
                        </group>
                        <group>
                            <field name="create_uid" widget="many2one_avatar_user"/>
                        </group>
                    </group>
                    <group>
                        <field name="mailing_model_name" invisible="1"/>
                        <field name="mailing_domain" string="Domain" widget="domain" options="{'model': 'mailing_model_name'}" attrs="{'invisible': [('mailing_model_id', '=', False)]}"/>
                    </group>
                </sheet>
            </form>
        