Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
6648 มุมมอง

I want to disable the "Add custom filter" option from odoo search view and only show the search criteria and filters I have defined with code. I also want to disable "Add custom group" option. How can I do that?

อวตาร
ละทิ้ง

Dynamic Add Custom Filter Menu Visibility | Remove Add Custom Filter Menu | Disable Add Custom Filter Menu | Control Access by User Group
This module allows administrators to hide or show the "Add Custom Filter" menu based on user groups, ensuring that only authorized users can apply advanced search filters.
https://apps.odoo.com/apps/modules/16.0/mh_hide_add_custom_filter

คำตอบที่ดีที่สุด

Hi Ernesto:

You will need to customize the javascript based web client for this.

The following documentation will be of help if you are new to frontend customization:

https://www.odoo.com/documentation/13.0/reference/javascript_reference.html

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

https://www.odoo.com/forum/help-1/question/hide-filter-name-from-add-custom-filter-drop-down-147813
you may not be able to hide the option but you can hide all fields to be filtered

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Select multiple elements with XPath แก้ไขแล้ว
5
ส.ค. 24
46653
0
ก.พ. 24
28
2
เม.ย. 24
2556
3
มิ.ย. 23
5792
2
มิ.ย. 23
4728