Skip to content
Health
41/100
poor
  • Security25/25
    No findings
  • Activity6/25
    Last human commit 32 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
AGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis 0 migration notes 4 models 3 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
OCA/server-ux:
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 3

XML IDNameModelTypeStatus
ir_actions_restriction_form_view ir.actions.restriction.form.view ir.actions.restriction form New
view_server_action_form Server Action - restriction_domain ir.actions.server form Inherits base_action_visibility_restriction.view_server_action_form
view_window_action_form Window Action - restriction_domain ir.actions.act_window form Inherits base_action_visibility_restriction.view_window_action_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (1)
  • restriction_ids One2many → ir.actions.restriction
    args: 'ir.actions.restriction', 'window_action_id'
Public methods (1)
  • read(self, fields=None, load='_classic_read')

New fields (0)

No new fields.

Public methods (1)
  • get_bindings(self, model_name)
    @api.model@tools.ormcache('frozenset(self.env.user.groups_id.ids)', 'model_name')
    Filter out actions for which user group is excluded

New fields (5)
  • condition_domain Char
    help='Defines records on which group can run action'
  • group_id Many2one → res.groups
    args: 'res.groups'
  • model Char
    compute='_compute_model'
  • server_action_id Many2one → ir.actions.server
    args: 'ir.actions.server'
  • window_action_id Many2one → ir.actions.act_window
    args: 'ir.actions.act_window'
Public methods (0)

No public methods.

New fields (1)
  • restriction_ids One2many → ir.actions.restriction
    args: 'ir.actions.restriction', 'server_action_id'
Public methods (1)
  • run(self)
    Prevent action running based on groups and domain