Dms Action
dms_action · OCA/dms
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
DmsActionTagAction— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourcedms_action_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
This module allows you to run server actions on DMS files directly from the form action menu or the kanban card menu.
Configure each DMS action with its server action, directories and optional allowed groups. Only active actions assigned to the file's directory and available to the current user are displayed. Group and directory restrictions are also checked on the server before execution.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
dms_action_form_view |
dms.action.form (in dms_action) | dms.action | form | New |
dms_action_search_view |
dms.action.search (in dms_action) | dms.action | search | New |
dms_action_tree_view |
dms.action.tree (in dms_action) | dms.action | tree | New |
dms_file_form_view |
dms.file.form (in dms_action) | dms.file | form | Inherits dms.view_dms_file_form |
view_dms_file_kanban |
dms.file.kanban (in dms_action) | dms.file | kanban | Inherits dms.view_dms_file_kanban |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
-
action_idMany2one → ir.actions.serverdomain=[('model_name', '=', 'dms.file')]help="Server action to execute when this action is triggered. Only server actions that are configured to run on the model 'DMS File' are available for selection." args: 'ir.actions.server' -
activeBooleandefault=True -
dms_directory_idsMany2many → dms.directoryhelp='Directories whose files can use this action. The action is also available recursively in all their subdirectories, without having to select each subdirectory individually. Allowed group restrictions still apply.'string='Directories' args: 'dms.directory' -
group_idsMany2many → res.groupshelp='Leave empty to allow all DMS users. Otherwise, users must belong to at least one of these groups to see and execute the action.'string='Allowed Groups' args: 'res.groups' -
iconChar -
kindSelectionrequired=True args: [('server_action', 'Server Action')] -
nameCharrequired=True -
tags_action_idsOne2many → dms.action.tag.actionstring='Tags Actions' args: 'dms.action.tag.action', 'dms_action_id'
No public methods.
-
actionSelectionrequired=True args: [('add', 'Add'), ('remove', 'Remove'), ('replace', 'Replace')] -
category_idMany2one → dms.categoryrequired=True args: 'dms.category' -
dms_action_idMany2one → dms.actionrequired=True args: 'dms.action' -
sequenceIntegerdefault=10 -
tag_idMany2one → dms.tagrequired=True args: 'dms.tag'
-
execute_actions(self, file)@api.model
-
action_buttonSerializedcompute='_compute_action_button' -
with_actionsBooleancompute='_compute_action_button'
-
execute_action(self, kwargs=False)
Loading…