Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3235 Widoki

Hello,

I am trying to add new filters for the application contact. Those filters need to be set for every internal user but it doesn't need to be set as default.

I have done the following set-up for a new filter using an label but it works only when set as default.

Model: contact

Action contacts

[['category_id.name', 'ilike', 'Etudiant(e)']]

Active : yes

Context: {'group_by':[]}

Sort: []


How can I make that new filter appear in the list of filter for contact?


Thanks 


Awatar
Odrzuć
Najlepsza odpowiedź

In Odoo, you can add new filters for the application contact by creating a filter in the "Settings" menu and then assigning the filter to the internal users who need to use it. This will allow the users to select the filter from the list of available filters when viewing the contact application.

To create a new filter for the contact application, go to the "Settings" menu and select the "Filters" option. Then, click on the "Create" button and enter the relevant information for the filter, such as the model (e.g. "contact"), the action (e.g. "[['category_id.name', 'ilike', 'Etudiant(e)']]"), and the context (e.g. "{'group_by':[]}"). You can also specify whether the filter should be set as the default filter for the contact application by checking the "Default" box.

Once you have created the filter, it will be added to the list of available filters in the "Filters" menu. To assign the filter to the internal users who need to use it, go to the "Settings" menu and select the "Users" option. Then, click on the user that you want to assign the filter to, and go to the "Filters" tab in the user form. In the "Filters" section, click on the "Add an Item" button, and select the filter that you want to assign from the dropdown menu.

Once the filter has been assigned to the user, the user will be able to select the filter from the list of available filters when viewing the contact application. The filter will not be set as the default filter for the user unless you have checked the "Default" box when creating the filter.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sie 25
100
0
lip 25
931
2
lip 25
995
1
maj 25
1651
ADD PROPERTIES Rozwiązane
1
maj 25
2961