[IMP] crm_claim. crm_helpdesk:- improved default filter
[odoo/odoo.git] / addons / crm_helpdesk / crm_helpdesk_menu.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data noupdate="1">
4
5         <menuitem
6             icon="terp-project" id="base.menu_main_pm"
7             name="Project" sequence="10"
8             web_icon="images/project.png"
9             web_icon_hover="images/project-hover.png"/>
10
11         <menuitem id="base.menu_aftersale" name="After-Sale Services"
12             parent="base.menu_main_pm" sequence="2" />
13
14 <!-- Help Desk (menu) -->
15
16         <record model="ir.actions.act_window" id="crm_case_helpdesk_act111">
17             <field name="name">Helpdesk Requests</field>
18             <field name="res_model">crm.helpdesk</field>
19             <field name="view_mode">tree,calendar,form</field>
20             <field name="view_id" ref="crm_case_tree_view_helpdesk"/>
21             <field name="search_view_id" ref="view_crm_case_helpdesk_filter"/>
22             <field name="context">{"search_default_user_id":uid, 'search_default_section_id': section_id}</field>
23             <field name="help">Helpdesk and Support allow you to track your interventions. Select a customer, add notes and categorize interventions with partners if necessary. You can also assign a priority level. Use the OpenERP Issues system to manage your support activities. Issues can be connected to the email gateway: new emails may create issues, each of them automatically gets the history of the conversation with the customer.</field>
24         </record>
25
26         <record model="ir.actions.act_window.view" id="action_crm_sec_tree_view_act111">
27             <field name="sequence" eval="1"/>
28             <field name="view_mode">tree</field>
29             <field name="view_id" ref="crm_case_tree_view_helpdesk"/>
30             <field name="act_window_id" ref="crm_case_helpdesk_act111"/>
31         </record>
32
33         <record model="ir.actions.act_window.view" id="action_crm_sec_calendar_view_act111">
34             <field name="sequence" eval="2"/>
35             <field name="view_mode">calendar</field>
36             <field name="view_id" ref="crm_case_helpdesk_calendar_view"/>
37             <field name="act_window_id" ref="crm_case_helpdesk_act111"/>
38         </record>
39
40         <record model="ir.actions.act_window.view" id="action_crm_sec_form_view_act111">
41             <field name="sequence" eval="3"/>
42             <field name="view_mode">form</field>
43             <field name="view_id" ref="crm_case_form_view_helpdesk"/>
44             <field name="act_window_id" ref="crm_case_helpdesk_act111"/>
45         </record>
46
47         <menuitem name="Helpdesk and Support" id="menu_help_support_main"
48             groups="base.group_extended,base.group_sale_salesman"
49             parent="base.menu_aftersale" action="crm_case_helpdesk_act111" sequence="2"/>
50
51     </data>
52 </openerp>
53