<?xml version="1.0" encoding="utf-8"?>
<openerp>
  <data>
    <record model="ir.actions.act_url" id="action_document_browse">
        <field name="name">Browse Files</field>
        <field name="url">ftp://localhost:8021/</field>
    </record>



    <record id="view_auto_config_form" model="ir.ui.view">
        <field name="name">FTP Server Configuration</field>
        <field name="model">document.ftp.configuration</field>
        <field name="inherit_id" ref="base.res_config_view_base"/>
        <field name="arch" type="xml">
          <data>
            <form position="attributes">
              <attribute name="string">Knowledge Application Configuration</attribute>
            </form>
            <group string="res_config_contents" position="replace">
                <separator string="Configure FTP Server" />
                <label string="Indicate the network address on which your OpenERP server should be reachable for end-users. This depends on your network topology and configuration, and will only affect the links displayed to the users. The format is HOST:PORT and the default host (localhost) is only suitable for access from the server machine itself.."/>
                <field name="host"/>
            </group>
          </data>
        </field>
    </record>

    <record id="action_config_auto_directory" model="ir.actions.act_window">
        <field name="name">FTP Server Configuration</field>
        <field name="type">ir.actions.act_window</field>
        <field name="res_model">document.ftp.configuration</field>
        <field name="view_id" ref="view_auto_config_form"/>
        <field name="view_type">form</field>
        <field name="view_mode">form</field>
        <field name="target">new</field>
    </record>

    <record model="ir.actions.todo" id="config_auto_directory">
        <field name="action_id" ref="action_config_auto_directory"/>
        <field name="type">automatic</field>
    </record>
  </data>
</openerp>
