Auto classify documents into DMS
dms_auto_classification · OCA/dms
Health
90/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by15/251 module depends on it
-
Maturity25/25In 4 Odoo series since 15.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.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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_idMany2one → res.companycomodel_name='res.company'index=Truestore=True -
directory_patternChar -
filename_patternChar -
nameCharrequired=True -
sequenceIntegerdefault=10required=True
No public methods.
New fields (6)
-
company_idMany2one → res.companycomodel_name='res.company'default=<expr>required=True -
data_fileBinaryrequired=Truestring='File' -
data_filenameChar -
detail_idsOne2many → wizard.dms.classification.detailcomodel_name='wizard.dms.classification.detail'inverse_name='parent_id'string='Details' -
stateSelectiondefault='draft'selection=[('draft', 'Draft'), ('analyze', 'Analyze')] -
template_idMany2one → dms.classification.templatecomodel_name='dms.classification.template'domain="['|', ('company_id', '=', False), ('company_id', '=', company_id)]"required=True
-
action_analyze(self)Process the zip file and generate details. -
action_classify(self)
New fields (7)
-
data_fileBinaryrequired=Truestring='File content' -
directory_idMany2one → dms.directorycomodel_name='dms.directory'compute='_compute_directory_id'readonly=Falsestore=True -
file_idMany2one → dms.filecomodel_name='dms.file'compute='_compute_file_id'readonly=Truestore=True -
file_nameCharcompute='_compute_file_name'store=Truestring='File name' -
full_pathCharreadonly=Truerequired=Truestring='Full path' -
parent_idMany2one → wizard.dms.classificationcomodel_name='wizard.dms.classification' -
stateSelectioncompute='_compute_state'readonly=Trueselection=[('to_classify', 'To classify'), ('classified', 'Classified')]store=True
No public methods.
Loading…
Loading…
Loading…