OdooWiki OCA HUB

Advanced search

web_advanced_search folder_open OCA/web open_in_new
Usability License: AGPL-3

More powerful and easy to use search, especially for related fields.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds an "Add Advanced Filter" option to the search bar's Filters menu, letting users build complex search conditions with a visual domain editor and pick related records (many2one, many2many, one2many) directly in custom filters.

This module improves the search bar in Odoo. In the Filters dropdown of any list, kanban or other search view, a new "Add Advanced Filter" entry opens a dialog where users can build a search condition step by step (field, operator, value) instead of typing a technical domain. The resulting filter is added to the search bar with a readable description.

It also upgrades the standard custom filter: for relational fields (many2one, many2many, one2many) with the equals or not-equals operators, users get a record picker to choose the related record by name instead of typing an ID. The chosen record's display name is shown in the filter description.

Business rules and behaviours added: - The advanced filter dialog starts with a first condition ready to fill in. - When a relational record is selected, its ID and display name are stored in the filter. - The filter menu stays open while picking records, and the "Search more..." dialog no longer closes the filter dropdown. - In the domain debug editor, invalid syntax shows a "Syntax error" notification and the change is ignored.

It touches the web client search components only; no new database models or menus are created.

Depends on

web

Text generated by AI (DeepSeek) from reading the Odoo 16.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.

terminal Installation and usage

OCA documentation · Odoo 16.0

To use this module, you need to:

  • Open Filters in a search view
  • Select any relational field
  • Select operator is equal to or is not equal to
  • The text field changes to a relational selection field where you can search for the record in question
  • Click Apply

To search for properties of linked records (ie invoices for customers with a credit limit higher than X):

  • Open Filters in a search view
  • Select Add Advanced Filter
  • Edit the advanced filter
  • Click Save

Note that you can stack searching for properties: Simply add another advanced search in the selection search window. You can do this indefinetely, so it is possible to search for moves belonging to a journal which has a user who is member of a certain group etc.

Note also the domain dialog offers an editable preview in debug mode:

No verified information in OCA: Installation, Configuration.

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.