I want to change backend my custom app's URL same as like when we open sales it's show in URL like - /odoo/sales, when open POS it's show - /odoo/point-of-sale, as I want to display my custom apps URL /odoo/APPname right now it's show action name /odoo/action-89. when I click on custom App -> open list view but in URL path display my custom URL.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
1
Trả lời
214
Lượt xem
You are looking for the path of an ir.actions.act_window record (the action used by your menuitem):
<odoo>
<record id="open_xyz" model="ir.actions.act_window">
<field name="name">Xyz</field>
<field name="path">the-path-to-xyz</field>
<field name="res_model">xyz</field>
<field name="view_mode">list</field>
</record>
<menuitem name="Xyz"
id="menu_xyz"
action="open_xyz"/>
</odoo>

Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký| Bài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
|---|---|---|---|---|
|
|
2
thg 9 25
|
2861 | ||
|
|
1
thg 8 25
|
2281 | ||
|
|
1
thg 8 25
|
1211 | ||
|
|
0
thg 7 25
|
1238 | ||
|
|
0
thg 7 25
|
1762 |
Hello,
Odoo uses the XML ID of the associated Menu Item (ir.ui.menu) and/or the associated Window Action (ir.actions.act_window) to construct a more user-friendly URL path.
Method: def load(self, action_id, context=None)
Have you defined the "name" like below?
<menuitem id="sale_menu_root"
name="Sales"
and associated actions like this: <field name="name">Quotations</field>
Thanks , it's working fine.