Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2240 Zobrazení

I want to hide setting app from dashboard but want to visible module configuration -> settings accordingly. After going to specific setting via module we can see the general settings option also visible in left side nav bar. Is there any way to hide that general setting from left side nav bar. But want to see specific module settings 

Avatar
Zrušit
Nejlepší odpověď

Hi,

In Odoo v16, we can achieve it by simply add the following line a scss file in our custom module.

.o_base_settings .o_setting_container .settings_tab {display:none}

then include the corresponding file in the manifest as below.

'assets': {
'web.assets_backend':['your_module_name/static/src/scss/settings.scss']}

Regards

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
dub 25
4138
5
bře 25
19376
1
čvn 24
1977
1
kvě 24
2020
1
bře 24
3014