Skip to Content
Menu
This question has been flagged
1 Odpoveď
2279 Zobrazenia

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šiť
Best Answer

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šiť
Related Posts Replies Zobrazenia Aktivita
2
apr 25
4811
5
mar 25
19565
1
jún 24
2056
1
máj 24
2118
1
mar 24
3079