<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>

        <record id="view_marketing_configuration" model="ir.ui.view">
            <field name="name">Configure Marketing</field>
            <field name="model">marketing.config.settings</field>
            <field name="arch" type="xml">
                <form string="Configure Marketing" class="oe_form_configuration">
                    <header>
                        <button string="Apply" type="object" name="execute" class="oe_highlight"/>
                        or
                        <button string="Cancel" type="object" name="cancel" class="oe_link"/>
                    </header>
                    <separator string="Mass Mailing"/>
                    <group>
                        <label for="id" string="Settings"/>
                        <div>
                            <div name="module_mass_mailing">
                                <field name="module_mass_mailing" class="oe_inline"/>
                                <label for="module_mass_mailing"/>
                            </div>
                        </div>
                    </group>
                    <separator string="Marketing Campaigns"/>
                    <group>
                        <label for="id" string="Settings"/>
                        <div>
                            <div name="module_marketing_campaign">
                                <field name="module_marketing_campaign" class="oe_inline"/>
                                <label for="module_marketing_campaign"/>
                            </div>
                        </div>
                    </group>
                </form>
            </field>
        </record>

        <record id="action_marketing_configuration" model="ir.actions.act_window">
            <field name="name">Configure Marketing</field>
            <field name="res_model">marketing.config.settings</field>
            <field name="view_mode">form</field>
            <field name="target">inline</field>
        </record>

        <menuitem id="menu_marketing_configuration" name="Marketing" parent="base.menu_config"
            sequence="17" action="action_marketing_configuration"/>

    </data>
</openerp>
