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


        <record id="view_base_synchro" model="ir.ui.view">
            <field name="name">Base Synchronization</field>
            <field name="model">base.synchro</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
            <form string="Transfer Data To Server">
                <field name="server_url" colspan="4"/>
                <field name="user_id"/>
                <newline/>
                <separator string="" colspan="4"/>
                <button special="cancel" string="_Close" icon="gtk-cancel"/>
                <button name="upload_download_multi_thread" string="_Synchronize" type="object" icon="gtk-ok"/>
            </form>
            </field>
       </record>

        <record id="action_view_base_synchro" model="ir.actions.act_window">
            <field name="name">Base Synchronization</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">base.synchro</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="view_id" ref="view_base_synchro"/>
            <field name="target">new</field>
        </record>

        <menuitem id="next_id_62" name="Synchronization" parent="base.menu_administration"/>
        <record id="view_base_synchro_finish" model="ir.ui.view">
            <field name="name">Base Synchronization</field>
            <field name="model">base.synchro</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
            <form string="Synchronization Complited!">
            <label string="The synchronisation has been started.You will receive a request when it's done." colspan="4"/>
                 <separator string="" colspan="4"/>
                    <button special="cancel" string="OK" icon="gtk-ok"/>
            </form>
            </field>
       </record>

        <menuitem id="next_id_62" name="Synchronization" parent="base.menu_administration"/>

        <menuitem parent="base_synchro.next_id_62" name="Synchronize objects"
            action="action_view_base_synchro"
            id="menu_action_view_base_synchro" />
    </data>
</openerp>
