跳至内容
菜单
此问题已终结
1 回复
2176 查看

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
2526
5
3月 25
18979
1
6月 24
1851
1
5月 24
1828
1
3月 24
2823