Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1208 Lượt xem

When we add a megamenu it comes with a small arrow icon next to the word, I would like to know if there is a way to remove this icon?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello Marcia,

You can't do that with the Odoo normal behavior, however you can do that modifying the base code, there are two methods.

  1. You can make a development to inherit the view "Submenu" and remove the class "dropdown-toggle" from the view.
  2. With no development you can delete that class by following the next steps:
    1. Go to Settings > Developer Tools > Activate the developer mode.
    2. Once the developer mode is activated go to Settings > Technical > Views.
    3. Search the view with the name "Submenu".
    4. In the code, line 9 you will find this

The best method will be always do it with a custom development, but if you can't do that the option 2 would work for you.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Thank you

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 24
636
2
thg 3 25
1369
3
thg 12 24
1126
1
thg 10 24
1240
0
thg 1 24
626