<openerp>
  <data>

    <record id="ftp_browse_form" model="ir.ui.view">
            <field name="name">Document FTP Browse</field>
            <field name="model">document.ftp.browse</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Browse Document">
                    <separator string="Browse Document" colspan="4"/>
                    <field name="url" widget="url" colspan="4" width="250"/>
                    <separator colspan="4"/>
                    <group col="4" colspan="4">
                        <label string="" colspan="2"/>
                        <button special="cancel" string="_Cancel" icon="gtk-cancel"/>
                        <button name="browse_ftp" string="_Browse" type="object" icon="gtk-ok"/>
                    </group>
                </form>
            </field>
        </record>

        <record id="action_ftp_browse" model="ir.actions.act_window">
            <field name="name">Document Browse</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">document.ftp.browse</field>
            <field name="view_id" ref="ftp_browse_form"/>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>
        </record>

        <menuitem
        name="Shared Repository (FTP)"
        action="action_ftp_browse"
        id="menu_document_browse"
        icon="STOCK_EXECUTE"
        parent="document.menu_document_doc" sequence="1"/>

</data>
</openerp>
