<?xml version="1.0" encoding="UTF-8"?>
<openerp>
    <data>
        <menuitem id="base.menu_sales" name="Sales" parent="base.menu_base_partner" sequence="1"/>

        <menuitem name="Documents"
           id="menu_sales" sequence="10"
           parent="base.menu_base_partner"/>

       <record model="ir.actions.act_window" id="action_document_form">
           <field name="name">Documents</field>
           <field name="type">ir.actions.act_window</field>
           <field name="res_model">ir.attachment</field>
           <field name="view_type">form</field>
           <field name="domain" eval="[('parent_id','=',ref('dir_sale'))]"></field>
           <field name="help">Documents give your access to all attached documents; it's a repository of all attached documents (mails, documents attached to a project, etc.)</field>
       </record>

       <record model="ir.actions.act_window" id="action_wiki_test">
           <field name="name">Wiki Pages</field>
           <field name="res_model">wiki.wiki</field>
           <field name="view_type">form</field>
           <field name="view_mode">tree,form</field>
           <field name="domain" eval="[('group_id','=',ref('wiki_groups_sale_faq'))]"/>
           <field name="search_view_id" ref="wiki.view_wiki_filter"/>
           <field name="help">FAQ is a wiki page used to share frequently ask questions.</field>
       </record>

        <menuitem
        name="Documents"
        action="action_document_form"
        id="menu_document_files"
        parent="menu_sales"/>

        <menuitem parent="menu_sales"
            id="menu_action_wiki_wiki" name="FAQ"
            action="action_wiki_test" />


      </data>
</openerp>
