Using a module to add a filter to a search view

One very nice feature of Odoo is the flexible and easy-to-use search functionality that is provided on every list view. With a module, you can add additional filter options that make it easier for users to find the information they are looking for. In our real-world example, we have placed an importance on rush orders. Therefore, it would be desirable to have a filter option on our sales order view that will limit our listing so it only displays rush orders.

Here is how the final search filter view will appear after we implement the module changes:

When Rush Only is checked, the sales order list ...

Get Working with Odoo 11 - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.