OdooWiki OCA HUB

Add custom filters in standard filters and group by dropdowns

base_custom_filter folder_open OCA/server-ux open_in_new
Usability License: AGPL-3

This module enables the definition of bespoke searches within a model's search view, in addition to permitting the creation of custom filters that will be displayed beneath the standard filters, as well as within the group-by menus of a model's search view.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets administrators define reusable custom filters, group-by options and search fields that appear inside the standard Filters and Group By dropdowns of any Odoo model, optionally restricted to specific user groups.

This module extends the standard saved filters so that, besides personal favourites, administrators can create shared "Standard Filters", "Standard Group By" entries and extra search fields for any model. These appear directly in the Filters and Group By dropdowns of the search bar, so users do not have to build them themselves.

A new menu "Custom Filters" under Settings contains two screens: "Custom Filters" (the list of defined filters) and "Custom Filter Groups" (folders that bundle several filters together). On each filter you choose the model, the type (Standard Filter, Standard Group By or Search), the domain or the field to group by, and optionally the user groups allowed to see it. Filters can be ordered with a drag handle and grouped into folders.

Business rules added by the code: filters and group-bys are only shown to users who belong to the selected user groups (or to everyone if no group is set); deleting a filter group also deletes the filters inside it; the personal favourite filters keep their original behaviour and are not mixed with the shared ones. The module touches ir.filters, adds the new ir.filters.group model, and hooks into the search view generation of every model.

Depends on

web

Menus it adds

menu_ir_filters_groupCustom Filtersmenu_ir_custom_filter
Models and fields (3)
  • base · extends an existing model
  • ir.filters · extends an existing modeltype, group_id (Filter Group), sequence, group_ids (User Groups), filter_domain, groupby_field (Group By Field), search_field_id
  • ir.filters.group · new modelname, type, model_id (Model), sequence, filter_ids (Filters)

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 5 confirmed, 4 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/server-ux.

terminal Installation and usage

OCA documentation · Odoo 18.0
  • Go to Settings \> Custom Filters.
  • Create a record assigning model, type (search/filter/groupby) and necessary attributes. Available fields and corresponding attributes (in brackets) for each type are as follows: Search: > - Search Field (name) > - Filter Domain (filter_domain) > - User Groups (groups) Filter: > - Domain (domain) > - User Groups (groups) Group By: > - Group By Field (field to be assigned to group_by context) > - User Groups (groups) See the official documentation for the definition of each attribute. Additionally, filter and group-by records can be respectively grouped together with "Group" assignment (there will be a separator in between groups).
  • Go to the model's menu entry for which you have defined the filter.
  • On the filters and group by dropdowns, you will see the configured filters.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.