Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 9 Odoo series since 10.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Odoo dependencies
odoo/odoo:
- web
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
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.model
    Inject fields field in search views.
  • get_views(self, views, options=None)
    @api.model
    Inject fake field definition for having custom filters available.

New fields (6)
  • expression Char
    required=True
  • model_id Many2one → ir.model
    comodel_name='ir.model' ondelete='cascade' required=True
  • model_name Char
    index=True readonly=True related='model_id.model' store=True string='Model name'
  • name Char
    required=True translate=True
  • position_after Char
    help='Optional field name for putting the filter after that one. If empty or not found, it will be put at the end.'
  • sequence Integer
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…