Skip to content
Health
90/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 4 Odoo series since 15.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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.12 MB
Module directory on disk
Code analysis 0 migration notes 3 models 3 views 0 HTTP endpoints

Description

Automatically classify files within a .zip file to the corresponding DMS directory(s).

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
dms_field_auto_classification

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 3

XML IDNameModelTypeStatus
view_dms_classification_template_form dms.classification.template form New
view_dms_classification_template_tree dms.classification.template list New
view_wizard_dms_classification_form wizard.dms.classification form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (5)
  • company_id Many2one → res.company
    comodel_name='res.company' index=True store=True
  • directory_pattern Char
  • filename_pattern Char
  • name Char
    required=True
  • sequence Integer
    default=10 required=True
Public methods (0)

No public methods.

New fields (6)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> required=True
  • data_file Binary
    required=True string='File'
  • data_filename Char
  • detail_ids One2many → wizard.dms.classification.detail
    comodel_name='wizard.dms.classification.detail' inverse_name='parent_id' string='Details'
  • state Selection
    default='draft' selection=[('draft', 'Draft'), ('analyze', 'Analyze')]
  • template_id Many2one → dms.classification.template
    comodel_name='dms.classification.template' domain="['|', ('company_id', '=', False), ('company_id', '=', company_id)]" required=True
Public methods (2)
  • action_analyze(self)
    Process the zip file and generate details.
  • action_classify(self)

New fields (7)
  • data_file Binary
    required=True string='File content'
  • directory_id Many2one → dms.directory
    comodel_name='dms.directory' compute='_compute_directory_id' readonly=False store=True
  • file_id Many2one → dms.file
    comodel_name='dms.file' compute='_compute_file_id' readonly=True store=True
  • file_name Char
    compute='_compute_file_name' store=True string='File name'
  • full_path Char
    readonly=True required=True string='Full path'
  • parent_id Many2one → wizard.dms.classification
    comodel_name='wizard.dms.classification'
  • state Selection
    compute='_compute_state' readonly=True selection=[('to_classify', 'To classify'), ('classified', 'Classified')] store=True
Public methods (0)

No public methods.

Loading…

Loading…

Loading…