تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2197 أدوات العرض

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
أبريل 25
2892
5
مارس 25
19116
1
يونيو 24
1891
1
مايو 24
1893
1
مارس 24
2887