[IMP] add uid in the context, so the default salesman is properly set to the current user (when a opportunity is created through this action)
bzr revid: abo@openerp.com-20121115181045-fzttb2av7nrmment
This commit is contained in:
parent
1158cff945
commit
9c909e55fc
|
@ -44,7 +44,7 @@
|
|||
<field name="res_model">crm.lead</field>
|
||||
<field name="view_mode">kanban,tree,graph,form,calendar</field>
|
||||
<field name="domain">[('type','=','opportunity')]</field>
|
||||
<field name="context">{'stage_type': 'opportunity', 'default_type': 'opportunity'}</field>
|
||||
<field name="context">{'stage_type': 'opportunity', 'default_type': 'opportunity', 'default_user_id': uid}</field>
|
||||
<field name="view_id" eval="False"/>
|
||||
<field name="search_view_id" ref="crm.view_crm_case_opportunities_filter"/>
|
||||
<field name="help" type="html">
|
||||
|
|
Loading…
Reference in New Issue