Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
2215 Представления

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?

Аватар
Отменить
Лучший ответ

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.

Аватар
Отменить
Автор Лучший ответ

Thank you

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
мар. 24
1500
2
июн. 25
1253
2
мар. 25
2621
3
дек. 24
2157
1
окт. 24
2338