Auto classify files into embedded DMS
Project description
Automatically classify files within a .zip file to the corresponding directory(s) related to an embedded DMS.
Table of contents
Configuration
Go to Documents / Configuration / Classification Templates and create or edit a template.
You can set a model to which it is linked (res.partner for example).
You can define the details to indicate which field is referenced by the defined filename pattern.
Full example from res.partner:
Filename pattern: ([0-9]{8}[A-Z]).*.pdf Details: VAT (field) and 0 (index) Directory Pattern example 1: {0} > This will attempt to add the files to the directory linked to the partner with the VAT name. Directory Pattern example 2: {0} / Misc > This will attempt to add the files to the “Misc” subdirectory linked to the partner with the VAT name.
Usage
Go to Documents / Auto Classification and select a template and a .zip file.
Press the Analyze button
As many lines will be set as the number of files contained in the .zip file and apply the filename pattern.
The record to which they are related (res.partner for example) will be show on the lines.
Press the Classify button
The files (dms.file) will be created in the corresponding directories.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
-
Víctor Martínez
Pedro M. Baeza
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Current maintainer:
This module is part of the OCA/dms project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo_addon_dms_field_auto_classification-16.0.1.0.2-py3-none-any.whl
.
File metadata
- Download URL: odoo_addon_dms_field_auto_classification-16.0.1.0.2-py3-none-any.whl
- Upload date:
- Size: 36.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6482b713f9fe083be43892b3dfe6268ed7353fa4ddf3f73ef48bf3f2beb2291c |
|
MD5 | 92d670850041c9424c46fd0b612f676a |
|
BLAKE2b-256 | 504fd433183dceebbe0b9159d9ca6b70889d702c156bfb3a5e65a0ee9ebb5c6d |