[FIX] crm: convert to opportunity wizard should not have a view switcher
`view_type` actually defaults to 'form', which is what we want, but `view_mode` defaults to 'tree,form' which is *not* what we want here
This commit is contained in:
@@ -91,7 +91,7 @@
|
||||
<field name="name">Convert to opportunity</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">crm.lead2opportunity.partner</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="view_id" ref="view_crm_lead2opportunity_partner"/>
|
||||
<field name="target">new</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user