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

        <record id="view_base_module_update" model="ir.ui.view">
            <field name="name">Module Update</field>
            <field name="model">base.module.update</field>
            <field name="arch" type="xml">
                <form string="Update Module List" version="7.0">
                    <field name="state" invisible="1"/>
                    <separator string="Module Update Result"/>
                    <group states="init">
                        <label string="Click on Update below to start the process..." />
                    </group>
                    <group states="done" >
                        <field name="update"/>
                        <field name="add" />
                    </group>
                    <footer>
                        <div states="init">
                            <button name="update_module" string="Update" type="object" class="oe_highlight"/> or
                            <button special="cancel" string="Cancel" class="oe_link"/>
                        </div>
                        <div states="done">
                            <button name="action_module_open" string="Open Modules" type="object" class="oe_highlight"/> or
                            <button special="cancel" string="Close" class="oe_link"/>
                        </div>
                    </footer>
                </form>
            </field>
        </record>

        <record id="action_view_base_module_update" model="ir.actions.act_window">
            <field name="name">Module Update</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">base.module.update</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>
        </record>

        <menuitem
            name="Update Modules List"
            action="action_view_base_module_update"
            id="menu_view_base_module_update"
            groups="base.group_no_one"
            parent="menu_management"
            sequence="40"
            icon="STOCK_CONVERT"/>

    </data>
</openerp>
