On installation of a custom module I need to redirect it to the a custom tree view. Currently it is redirecting to discuss. what can I do for this?
Thanks in advance.
Dette spørgsmål er blevet anmeldt
Hi,
You can achieve that using ir.actions.todo
Try to create records like below in your custom module.
<record id="action_client_base_menu" model="ir.actions.client">
<field name="name">Your Client action name</field>
<field name="tag">reload</field>
<field name="params" eval="{'menu_id': ref('your_module_name.menuitem_id')}"/>
</record>
<record id="open_menu" model="ir.actions.todo">
<field name="name">Open Menu</field>
<field name="action_id" ref="action_client_base_menu"/>
<field name="sequence">100</field>
<field name="state">open</field>
</record>
Regards
Kan du lide at diskutere? Læs ikke bare med, deltag aktivt i debatten!
Opret en konto i dag for at få glæde af eksklusive funktioner, og bliv en del af vores skønne fællesskab!
Tilmeld dig| Relaterede indlæg | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|
|
2
maj 25
|
8029 | ||
|
|
1
jan. 26
|
8328 | ||
|
|
1
maj 26
|
9537 | ||
|
|
1
maj 26
|
480 | ||
|
|
1
nov. 25
|
3836 |