<openerp>
      <data>
        <record id="view_create_list" model="ir.ui.view">
            <field name="name">create.list.form</field>
            <field name="model">create.list</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
            <form string="Update List Manually">
                 <separator string="Update List Manually" colspan="4"/>
                <field name="mailchimp_account_id" on_change = "onchange_mailchimp_account_id(mailchimp_account_id,action)"/>
                <field name="list_name" />
                <newline/>
                <separator string="Partner" colspan="4"/>
                <field name="partner_ids" nolabel="1" colspan="4"/>
                <group col="4" colspan="4">
                    <button special="cancel" string="Cancel" icon="gtk-cancel"/>
                    <button name="create_list" string="Update" type="object" icon="gtk-ok"/>
                </group>
            </form>
        </field>
    </record>
	<record id="action_create_list" model="ir.actions.act_window">
        <field name="name">Manual Mailchimp List Update</field>
        <field name="type">ir.actions.act_window</field>
        <field name="res_model">create.list</field>
        <field name="view_type">form</field>
        <field name="view_id" ref="view_create_list"/>
        <field name="target">new</field>
    </record>
    
    <menuitem id="menu_action_mailchimp_create_list"
        name="Manual Mailchimp List Update"
        parent="menu_action_mailchimp" action="action_create_list"
        sequence="40" />

      </data>
</openerp>
