[FIX]crm: change default filter when clicking on opportunities from sale's team kanban view.

Should display user opportunities instead of new/pending one.

bzr revid: csn@openerp.com-20130503075020-gbww4xfwl20cmjbv
This commit is contained in:
Cedric Snauwaert 2013-05-03 09:50:20 +02:00
parent ce42a31ec8
commit b1f452fd24
2 changed files with 2 additions and 3 deletions

View File

@ -43,8 +43,7 @@
<field name="search_view_id" ref="crm.view_crm_case_opportunities_filter"/>
<field name="context">{
'search_default_section_id': [active_id],
'search_default_new': 1,
'search_default_open': 1,
'search_default_assigned_to_me': 1,
'default_section_id': active_id,
'stage_type': 'opportunity',
'default_type': 'opportunity',

View File

@ -556,7 +556,7 @@
<filter string="Lost" name="lost" domain="[('state','=','cancel')]"/>
<filter string="Unassigned" name="unassigned" domain="[('user_id','=', False)]" help="No salesperson"/>
<filter string="Unread Messages" name="message_unread" domain="[('message_unread','=',True)]" help="Unread messages"/>
<filter string="Assigned to Me"
<filter string="Mine" name="assigned_to_me"
domain="[('user_id','=',uid)]" context="{'invisible_section': False}"
help="Opportunities that are assigned to me"/>
<filter string="Assigned to My Team(s)"