TIP: You can type at any time to perform a new search.
Add custom filters for fields via UI
base_search_custom_field_filter · OCA/server-ux
- Repository
- OCA/server-ux · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Usability
- Folder size
- 0.25 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/server-ux
- Last tracking update
- 2026-08-07 09:06:24
- Authors
- Odoo Community Association (OCA), Tecnativa, Amitaujas
- Maintainers
- Odoo Community Association (OCA), Tecnativa, Amitaujas
- Committers
- OCA-git-bot, sergio, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module allows to define custom filters in the search views for an specific field belonging to the document or any other related document. This nature makes the definition quite technical, but once done, it adds the element in the UI for regular user use.
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_ir_ui_custom_field_filter_form |
ir.ui.custom.field.filter | list | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (0)
No new fields.
Public methods (2)-
get_view(self, view_id=None, view_type='form', **options)@api.modelInject fields field in search views. -
get_views(self, views, options=None)@api.modelInject fake field definition for having custom filters available.
New fields (6)
-
expressionCharrequired=True -
model_idMany2one → ir.modelcomodel_name='ir.model'ondelete='cascade'required=True -
model_nameCharindex=Truereadonly=Truerelated='model_id.model'store=Truestring='Model name' -
nameCharrequired=Truetranslate=True -
position_afterCharhelp='Optional field name for putting the filter after that one. If empty or not found, it will be put at the end.' -
sequenceInteger
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…