Base Action Visibility Restriction
base_action_visibility_restriction · OCA/server-ux
Health
52/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 37 months ago
-
Required by15/251 module depends on it
-
Maturity12/25In 2 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
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
3 models
2 views
0 HTTP endpoints
Description
Dependencies
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- None
- System dependencies
- None
- Required by
- base_action_visibility_restriction_domain
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_server_action_form |
Server Action - base_action_visibility_restriction | ir.actions.server | form | Inherits base.view_server_action_form |
view_window_action_form |
ir.actions.windows.form - base_action_visibility_restriction | ir.actions.act_window | form | Inherits base.view_window_action_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (1)
-
excluded_group_idsMany2many → res.groupscolumn1='action_id'column2='gid'comodel_name='res.groups'relation='ir_actions_act_window_excluded_group_rel'string='Excluded Groups'
No public methods.
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 (1)
-
excluded_group_idsMany2many → res.groupscolumn1='action_id'column2='gid'comodel_name='res.groups'relation='ir_actions_server_excluded_group_rel'string='Excluded Groups'
-
run(self)Prevent action running for excluded groups
Loading…