Skip to main content

Create DMS View and allow to use them inside a record

Project description

Beta License: LGPL-3 OCA/dms Translate me on Weblate Try me on Runboat

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.

  1. Go to Documents > Configuration > Embedded DMS templates and create a new record.

  2. Set a storage, a model (res.partner for example) and the access groups you want.

  3. You can also use expressions in “Directory format name”, for example: {{object.name}}

  4. Click on the “Documents” tab icon and a folder hierarchy will be created.

  5. 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

Authors

  • Creu Blanca

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

odoo_addon_dms_field-16.0.1.0.3-py3-none-any.whl (477.3 kB view details)

Uploaded Python 3

File details

Details for the file odoo_addon_dms_field-16.0.1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_dms_field-16.0.1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e48d76d68663345b2b5033bdf01e115c1697404ed93c56c4b07258eedd82367f
MD5 354cd06fc94078832ee185b20afcdbbe
BLAKE2b-256 f5c05f3682dec2decc61990399e388af3bbf536450185ba1c9c626e5354ebdda

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page