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

        <record id="view_partner_clear_ids" model="ir.ui.view">
            <field name="name">Clear IDs</field>
            <field name="model">partner.clear.ids</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
              <form string="Clear Ids">
                <label string="Want to Clear Ids ? "/>
                <separator string="" colspan="6" />
                <label string="" colspan="2"/>
                <group>
                <button special="cancel" string="Cancel" icon="gtk-cancel" />
                <button name="clear_ids" string="Clear IDs" type="object" icon="gtk-ok"/>
                </group>
            </form>
            </field>
        </record>

       <record id="action_view_partner_clear_ids" model="ir.actions.act_window">
            <field name="name">Clear IDs</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">partner.clear.ids</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>
        </record>

    </data>
</openerp>