Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2286 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
apr 25
5381
5
mar 25
19601
1
giu 24
2074
1
mag 24
2129
1
mar 24
3096