i am unable to hide user menu "My odoo account" any one please help me
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ờ
Hi @Ajay kumar ravidas
I hope you are doing well.
You will need to inherit the portal.user_dropdown template and add class to hide the menu.
Please find code in comment.
Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
Code :-
<template id="my_account_link_hide" inherit_id="portal.user_dropdown">
<xpath expr="//a[@href='/my/home']" position="attributes">
<attribute name="class" add="d-none" separator=" "/>
</xpath>
</template>
Thank you
Hi,
Inherit the template portal.user_dropdown
And using xpath, replace the /my/home.
<template id=“your”_template_id
inherit_id=“portal”.user_dropdown>
<xpath expr="//a[@href=‘/my/home’]” position="replace">
</xpath>
</template>
Regards
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 | |
---|---|---|---|---|
|
1
thg 8 24
|
4126 | ||
|
0
thg 3 23
|
1808 | ||
|
0
thg 10 24
|
1040 | ||
|
1
thg 7 23
|
1548 | ||
|
0
thg 11 24
|
1604 |
Enhance your Odoo interface with the Streamlined User Account Menu module. This efficient tool allows you to remove unnecessary options from the User Account Menu, resulting in a cleaner and more focused user experience. Ideal for businesses seeking to declutter their Odoo instance and maintain a professional and user-friendly environment.
https://apps.odoo.com/apps/modules/17.0/mh_hide_odoo_brand_from_user_account_menu