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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
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
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
Select multiple elements with XPath
Rozwiązane
|
|
5
sie 24
|
46249 | |
|
0
lut 24
|
28 | ||
Filter out (hide) lines in tree component
Rozwiązane
|
|
2
kwi 24
|
2354 | |
|
3
cze 23
|
5468 | ||
|
2
cze 23
|
4476 |
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