Add custom filters for fields via UI
base_search_custom_field_filter · OCA/server-ux
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 9 Odoo series since 10.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.25 MB
Module directory on disk
Code analysis
0 migration notes
2 models
1 view
0 HTTP endpoints
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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…
Loading…