[FIX] crm*: remove outdated stage_type from context
This key in context is useless since v7.0
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
<field name="context">{
|
||||
'default_type':'lead',
|
||||
'search_default_type': 'lead',
|
||||
'stage_type':'lead',
|
||||
'needaction_menu_ref': 'crm.menu_crm_opportunities',
|
||||
'search_default_to_process':1,
|
||||
}
|
||||
@@ -36,7 +35,6 @@
|
||||
<field name="view_mode">kanban,tree,graph,pivot,form,calendar</field>
|
||||
<field name="domain">[('type','=','opportunity')]</field>
|
||||
<field name="context">{
|
||||
'stage_type': 'opportunity',
|
||||
'default_type': 'opportunity',
|
||||
'default_user_id': uid
|
||||
}
|
||||
@@ -68,11 +66,10 @@
|
||||
<field name="view_mode">kanban,tree,graph,pivot,form,calendar</field>
|
||||
<field name="domain">[('type','=','opportunity')]</field>
|
||||
<field name="context">{
|
||||
'stage_type': 'opportunity',
|
||||
'default_type': 'opportunity',
|
||||
'default_user_id': uid,
|
||||
'search_default_assigned_to_me': 1,
|
||||
}</field>
|
||||
}</field>
|
||||
<field name="search_view_id" ref="crm.view_crm_case_opportunities_filter"/>
|
||||
<field name="help" type="html">
|
||||
<p>
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
<field name="domain">[('type','=','opportunity')]</field>
|
||||
<field name="context">{
|
||||
'search_default_partner_id': active_id,
|
||||
'stage_type': 'opportunity',
|
||||
'default_type': 'opportunity'
|
||||
}</field>
|
||||
<field name="view_id" eval="False"/>
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
<field name="context">{
|
||||
'search_default_team_id': [active_id],
|
||||
'default_team_id': active_id,
|
||||
'stage_type': 'opportunity',
|
||||
'default_type': 'opportunity',
|
||||
'default_user_id': uid,
|
||||
}
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
'search_default_team_id': [active_id],
|
||||
'default_team_id': active_id,
|
||||
'default_type': 'lead',
|
||||
'stage_type': 'lead',
|
||||
}
|
||||
</field>
|
||||
<field name="help" type="html">
|
||||
@@ -43,7 +42,6 @@
|
||||
<field name="context">{
|
||||
'search_default_team_id': [active_id],
|
||||
'default_team_id': active_id,
|
||||
'stage_type': 'opportunity',
|
||||
'default_type': 'opportunity',
|
||||
'default_user_id': uid,
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
|
||||
<!-- add needaction_menu_ref to reload quotation needaction when opportunity needaction is reloaded -->
|
||||
<record model="ir.actions.act_window" id="crm.crm_lead_opportunities">
|
||||
<field name="context">{'stage_type': 'opportunity', 'default_type': 'opportunity', 'default_user_id': uid, 'needaction_menu_ref': 'sale.menu_sale_quotations'}</field>
|
||||
<field name="context">{'default_type': 'opportunity', 'default_user_id': uid, 'needaction_menu_ref': 'sale.menu_sale_quotations'}</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="sale_view_inherit123">
|
||||
|
||||
Reference in New Issue
Block a user