跳至內容
選單
此問題已被標幟
1 回覆
2231 瀏覽次數

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 

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
4月 25
3899
5
3月 25
19309
1
6月 24
1951
1
5月 24
1998
1
3月 24
2988