Create DMS View and allow to use them inside a record
Project description
This addon creates a new kind of view and allows to define a folder related to a record.
Table of contents
Configuration
To use the embedded view in any module, the module must inherit from the mixin dms.field.mixin (You have an example with res.partner in this module).
Once this is done, in the form view of the model we will have to add the following:
<field name="dms_directory_ids" mode="dms_list" />
In addition, it will be necessary to create an Embedded DMS template for this model.
Go to Documents > Configuration > Embedded DMS templates and create a new record.
Set a storage, a model (res.partner for example) and the access groups you want.
You can also use expressions in “Directory format name”, for example: {{object.name}}
Click on the “Documents” tab icon and a folder hierarchy will be created.
You can set here the hierarchy of directories, subdirectories and files you need, this hierarchy will be used as a base when creating a new record (res.partner for example).
Usage
#. Go to the form view of an existing partner and click on the “DMS” tab icon, a hierarchy of folders and files linked to that record will be created. #. Create a new partner. A hierarchy of folders and files linked to that record will be created.
Known issues / Roadmap
Add drag & drop compatibility to the dms_tree mode
Multiple selection support (e.g. cut several files and paste to another folder).
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
Enric Tobella <etobella@creublanca.es>
Jaime Arroyo <jaime.arroyo@creublanca.es>
-
Víctor Martínez
Carlos Roca
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.
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-16.0.1.0.2-py3-none-any.whl
.
File metadata
- Download URL: odoo_addon_dms_field-16.0.1.0.2-py3-none-any.whl
- Upload date:
- Size: 477.3 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 | 40a9216ac28a7e4fced885bd45ddc88b42e5854ed582bcc79df85916fc341535 |
|
MD5 | 2a75dd0096439a2fc533f68735bb1e32 |
|
BLAKE2b-256 | 27b23f38039c5de24670407596ee4ce5f580839c988d5fbda58cb5144336852f |