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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
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
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
2
مايو 25
|
633 | ||
|
0
يناير 25
|
741 | ||
|
0
أبريل 25
|
639 | ||
|
1
أبريل 25
|
783 | ||
|
0
يناير 25
|
494 |