Skip to Content
Menu
This question has been flagged
1 Reply
2162 Views

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 


Avatar
Discard
Best Answer

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.

Avatar
Discard
Related Posts Replies Views Activity
1
Sep 24
182
1
Jun 24
3692
0
Feb 24
534
0
Oct 23
727
1
Feb 23
2302