Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 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.09 MB
Module directory on disk
Code analysis 2 migration notes 3 models 5 views 0 HTTP endpoints

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

Odoo dependencies
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 5

XML IDNameModelTypeStatus
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

New fields (8)
  • action_id Many2one → ir.actions.server
    domain=[('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'
  • active Boolean
    default=True
  • dms_directory_ids Many2many → dms.directory
    help='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_ids Many2many → res.groups
    help='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'
  • icon Char
  • kind Selection
    required=True args: [('server_action', 'Server Action')]
  • name Char
    required=True
  • tags_action_ids One2many → dms.action.tag.action
    string='Tags Actions' args: 'dms.action.tag.action', 'dms_action_id'
Public methods (0)

No public methods.

New fields (5)
  • action Selection
    required=True args: [('add', 'Add'), ('remove', 'Remove'), ('replace', 'Replace')]
  • category_id Many2one → dms.category
    required=True args: 'dms.category'
  • dms_action_id Many2one → dms.action
    required=True args: 'dms.action'
  • sequence Integer
    default=10
  • tag_id Many2one → dms.tag
    required=True args: 'dms.tag'
Public methods (1)
  • execute_actions(self, file)
    @api.model

New fields (2)
  • action_button Serialized
    compute='_compute_action_button'
  • with_actions Boolean
    compute='_compute_action_button'
Public methods (1)
  • execute_action(self, kwargs=False)

Loading…