How to Add a Filter in the Odoo 17 - Odoo 17 Slides

CelineGeorge1 1,006 views 8 slides Jul 10, 2024
Slide 1
Slide 1 of 8
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8

About This Presentation

In this slide, we will learn how to add filters in Odoo 17. Filters are a powerful tool that allows us to narrow down our search results and find the specific information we need. We will go over on how to create custom filters. By the end of this slide, we will be able to easily filter our data in ...


Slide Content

How to Add a Filter in Odoo 17 Enterprise

Introduction Enterpr ise In this slide, we will learn how to add filters in Odoo 17. Filters are a powerful tool that allows us to narrow down our search results and find the specific information we need. We will go over on how to create custom filters. By the end of this slide, we will be able to easily filter our data in Odoo 17.

Enterprise In the Search view, we have Filters option to refine and organize records based on the model's fields. Clicking on these options shows predefined filters. However, consistently adding custom filters or groups can be a bit tricky, requiring extra effort. By clicking on the dropdown menu as shown in the image, we can navigate to the filters by sections.

Enterprise We can easily set up default filters. Let's see how it's done. For that create a search view like the below image.

Enterprise Here, we created a filter to show all the draft stage and confirmed stage records. If the 'name' is required, we can use any name. It's important to set a rule (domain) for the filter, which, in this case, makes it display records where the 'status' field is equal to 'draft' and 'status' field is equal to 'confirmed'. Also only the stored field can be used in creating filters.

Enterprise Then restart the server and upgrade the module. We can see the filters that we defined in the search bar.

Enterprise By selecting the filter, the records will be filtered according to the domain condition we gave.

For More Info. Check our company website for related blogs and Odoo book. Check our YouTube channel for functional and technical videos in Odoo. Enterprise www.cybrosys.com