Skip to content
Health
41/100
poor
  • Security25/25
    No findings
  • Activity6/25
    Last human commit 34 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 14.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
LGPL-3
No conflicts with its dependencies
Folder size
1.63 MB
Module directory on disk
Code analysis 2 migration notes 3 models 2 views 0 HTTP endpoints

Description

This module allows to customize modifiers on form and tree view nodes.

For example, it allows to make a field readonly, invisible or required.

Dependencies

Odoo dependencies
odoo/odoo:
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 2

XML IDNameModelTypeStatus
custom_modifier_list Custom Modifier List View web.custom.modifier tree New
custom_modifier_search Custom Modifier Search View web.custom.modifier search New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (0)

No new fields.

Public methods (1)
  • fields_get(self, allfields=None, attributes=None)
    @api.model
    Add the custom modifiers to the fields metadata.

New fields (0)

No new fields.

Public methods (1)
  • postprocess(self, node, current_node_path, editable, name_manager)
    Add custom modifiers to the view xml. This method is called in Odoo when generating the final xml of a view.

New fields (7)
  • active Boolean
    default=True
  • excluded_group_ids Many2many → res.groups
    args: 'res.groups', 'web_custom_modifier_excluded_group_rel', 'modifier_id', 'group_id', 'Excluded Groups'
  • key Char
  • model_ids Many2many → ir.model
    args: 'ir.model', 'ir_model_custom_modifier', 'modifier_id', 'model_id', 'Model'
  • modifier Selection
    required=True args: [('invisible', 'Invisible'), ('column_invisible', 'Invisible (List Views)'), ('readonly', 'Readonly'), ('force_save', 'Force Save'), ('required', 'Required'), ('selection_hide', 'Hide Selection Item'), ('widget', 'Widget'), ('limit', 'Number of lines per page (List Views)'), ('optional', 'Optional')]
  • reference Char
    required=True
  • type_ Selection
    default='field' required=True string='Type' args: [('field', 'Field'), ('xpath', 'Xpath')]
Public methods (4)
  • create(self, vals)
    @api.model
  • get(self, model)
  • unlink(self)
  • write(self, vals)