OdooWiki OCA HUB

Attribute Set Searchable

attribute_set_searchable folder_open OCA/odoo-pim open_in_new
Uncategorised License: AGPL-3

This module allows the user to make an attribute searchable directly from the search view of the related model.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds a "Searchable" checkbox on attributes so that, when ticked, the attribute automatically becomes available as a custom filter in the search view of the related model.

This module extends the attribute configuration used by the attribute set feature. On the attribute form, a new "Searchable" checkbox appears right after the "Required on views" field.

When you tick this checkbox and save, Odoo automatically creates a custom field filter for the model linked to the attribute's group, using the attribute's field description as the filter name, its technical name as the expression and its sequence for ordering. If you later change the attribute's description, technical name or sequence, the existing custom filter is updated to stay in sync. If you untick the checkbox, the related custom filter is removed.

The same behaviour applies when a new attribute is created directly with the checkbox already ticked: the custom filter is created immediately.

As a result, users can search records of the related model using that attribute as a filter in the search bar, without having to configure the custom filter manually. The module touches the attribute.attribute model and the ir.ui.custom.field.filter model, adding a link between them so each custom filter knows which attribute it comes from.

Models and fields (2)
  • attribute.attribute · extends an existing modelsearchable
  • ir.ui.custom.field.filter · extends an existing modelattribute_id

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: 4 confirmed, 5 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 16.0

On the attribute, thick the check box 'Searchable' and refresh your browser. Open the search view linked to the related model and begin to type, the attribute is now available.

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.