[FIX] crm: New / opportunity in the dashboard opens an opp form
Up to now, it opened the lead form view instead of the opportunity form view. Most-likely, a new / lead should be added to the dashboard in addition to the new opp, as this is the case with the view lead/opportunity but it doesn't seem it was expected up to now so I leave it like it is. opw-710583
This commit is contained in:
@@ -145,6 +145,7 @@
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="view_id" ref="crm_case_form_view_oppor"/>
|
||||
<field name="domain">[('type','=','opportunity')]</field>
|
||||
<field name="context">{
|
||||
'search_default_team_id': [active_id],
|
||||
|
||||
Reference in New Issue
Block a user