Filtering records

The search view in Odoo allows you to define default filters to help users efficiently organize and access records. These filters are applied using the tag within the search view definition, based on specific conditions. By configuring default filters this way, you can streamline the user experience by automatically applying commonly used filters—removing the need for users to manually select "Add Custom Filter" each time.

<filter string="Sales Orders" name="Sales" domain="[('state','not in',('draft','cancel','sent'))]"/>
odoo-development
WhatsApp