<openerp>
  <data>
    <record id="view_auto_config_form" model="ir.ui.view">
        <field name="name">Auto Configure Directory</field>
        <field name="model">document.configuration</field>
        <field name="type">form</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>
             <separator string="title" position="attributes">
            	<attribute name="string">Configure Resource Directory</attribute>
          	</separator>
          	<xpath expr="//label[@string='description']" position="attributes">
            <attribute name="string">Choose the following Resouces to auto directory configuration.</attribute>
          </xpath>
          <xpath expr="//separator[@string=&quot;vsep&quot;]" position="attributes">
  				<attribute name="rowspan">12</attribute>
      			<attribute name="string"/>
	      	</xpath>
            <group string="res_config_contents" position="replace">
                <group col="6" colspan="4">
                    <field name="sale_order"/>
                    <field name="product"/>
                    <field name="project"/>
                </group>
            </group>
            <xpath expr="//button[@name='action_skip']" position="replace"/>
          </data>
        </field>
    </record>

    <record id="action_config_auto_directory" model="ir.actions.act_window">
        <field name="name">Auto Configure Directory</field>
        <field name="type">ir.actions.act_window</field>
        <field name="res_model">document.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 id="category_knowledge_mgmt_config" model="ir.actions.todo.category">
        <field name="name">Knowledge Management</field>
        <field name="sequence">5</field>
    </record>    

    <record model="ir.actions.todo" id="config_auto_directory">
        <field name="action_id" ref="action_config_auto_directory"/>
        <field name="category_id" ref="category_knowledge_mgmt_config"/>
        <field name="groups_id" eval="[(6,0,[ref('base.group_extended')])]"/>
        <field name="type">automatic</field>
    </record>
  </data>
</openerp>
