Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2214 Lượt xem

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 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 4 25
3352
5
thg 3 25
19177
1
thg 6 24
1907
1
thg 5 24
1925
1
thg 3 24
2921