I need the following view types on CRM hide calendar,pivot,graph,cohort,dashboard using a custom module I tried with this without success
<record id="crm_action" model="ir.actions.act_window">
<field name="name">CRM views</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">crm.lead</field>
<field name="view_type">crm.lead.kanban</field>
<field name="view_mode">tree,form,calendar,graph</field>
</record>
thanks
Your module should depend on
crm
. Then, the code must be this: