<?xml version="1.0"?>
<openerp>
<data>

    ######################## ISSUE TRACKING (menu) ###########################
    <!--
        ALL BUGS
    -->
    <record model="ir.actions.act_window" id="project_issue_categ_act0">
        <field name="name">Issues</field>
        <field name="res_model">project.issue</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,calendar</field>
        <field name="view_id" ref="project_issue_tree_view"/>
        <field name="domain" eval=""/>
        <field name="context">{"search_default_user_id": uid, "search_default_current":1, "search_default_project_id":project_id}</field>
        <field name="search_view_id" ref="view_project_issue_filter"/>
        <field name="help">Issues like bugs in a system, client complain, materials breakdown are collected here. A list view allows the manager to quickly check for them, assign them, make their status evolved.</field>
    </record>

    <record model="ir.actions.act_window.view" id="action_crm_tag_tree_view0">
        <field name="sequence" eval="1"/>
        <field name="view_mode">tree</field>
        <field name="view_id" ref="project_issue_tree_view"/>
        <field name="act_window_id" ref="project_issue_categ_act0"/>
    </record>

    <record model="ir.actions.act_window.view" id="action_crm_tag_calendar_view0">
        <field name="sequence" eval="2"/>
        <field name="view_mode">calendar</field>
        <field name="view_id" ref="project_issue_calendar_view"/>
        <field name="act_window_id" ref="project_issue_categ_act0"/>
    </record>

    <record model="ir.actions.act_window.view" id="action_crm_tag_form_view0">
        <field name="sequence" eval="3"/>
        <field name="view_mode">form</field>
        <field name="view_id" ref="project_issue_form_view"/>
        <field name="act_window_id" ref="project_issue_categ_act0"/>
    </record>

    <act_window
    		context="{'search_default_project_id': [active_id]}"
            id="act_project_project_2_project_issue_all"
            name="Issues"
            res_model="project.issue"
            src_model="project.project"
            view_mode="tree,form,calendar,graph"
            view_type="form"/>

    <menuitem name="Issues" id="menu_project_issue_track"  parent="project.menu_project_management"
            action="project_issue_categ_act0" sequence="3"/>
</data>
</openerp>
