[IMP]crm_helpdesk : Improve the filter

bzr revid: dbr@tinyerp.com-20110919103653-cdw9nt96xgsy5zgj
This commit is contained in:
DBR (OpenERP) 2011-09-19 16:06:53 +05:30
parent d0ceb8f301
commit 82b56b64a1
3 changed files with 4 additions and 6 deletions

View File

@ -11,8 +11,8 @@
<field name="res_model">crm.helpdesk</field>
<field name="view_mode">tree,calendar,form</field>
<field name="view_id" ref="crm_case_tree_view_helpdesk"/>
<field name="context">{"search_default_user_id":uid, 'search_default_section_id': section_id}</field>
<field name="search_view_id" ref="view_crm_case_helpdesk_filter"/>
<field name="context">{"search_default_user_id":uid, "search_default_current":1, 'search_default_section_id': section_id}</field>
<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>
</record>

View File

@ -232,7 +232,8 @@
<field name="type">search</field>
<field name="arch" type="xml">
<search string="Search Helpdesk">
<filter icon="terp-check" string="New" name="current"
<filter icon="terp-check" string="New"
name="current"
domain="[('state','in',('draft', 'open'))]"
help="Draft and Open Helpdesk Request" />
<filter icon="terp-camera_test"
@ -245,10 +246,7 @@
domain="[('state','=','pending')]"
help="All pending Helpdesk Request"
/>
<separator orientation="vertical"/>
<filter icon="terp-go-today" string="Today"
domain="[('date::date','=',time.strftime('%%Y-%%m-%%d'))]"
help="Todays's Helpdesk Requests"

View File

@ -134,7 +134,7 @@
<field name="res_model">crm.helpdesk.report</field>
<field name="view_type">form</field>
<field name="view_mode">tree,graph</field>
<field name="context">{"search_default_User":1,"search_default_This Month":1,'group_by_no_leaf':1,'group_by':[]}</field>
<field name="context">{"search_default_User":1,"search_default_this_month":1,'group_by_no_leaf':1,'group_by':[]}</field>
<field name="view_id" ref="view_report_crm_helpdesk_tree"/>
<field name="search_view_id" ref="view_report_crm_helpdesk_filter"/>
<field name="help">Have a general overview of all support requests by sorting them with specific criteria such as the processing time, number of requests answered, emails sent and costs.</field>