Search 1.9 billion lines of Odoo code on GitHub

dms

Author: MuK IT, Tecnativa, Odoo Community Association (OCA)
License: LGPL-3
Branch: 15.0
Repository: OCA/dms
Dependencies: base, http_routing, mail, mail_preview_base, portal, web, and web_drop_target
Languages: AspectJ (8, 0.1%), Bourne Shell (3, 0.0%), C (5, 0.0%), C# (8, 0.1%), C++ (6, 0.0%), COBOL (5, 0.0%), CoffeeScript (1, 0.0%), Fortran (0, 0.0%), Go (5, 0.0%), Groovy (1, 0.0%), HTML (457, 3.2%), Java (5, 0.0%), JavaScript (316, 2.2%), Markdown (88, 0.6%), PO File (6063, 42.7%), Python (3459, 24.3%), SVG (62, 0.4%), Sass (158, 1.1%), Scheme (3, 0.0%), XML (3142, 22.1%), and reStructuredText (411, 2.9%)
Other branches: 12.0, 13.0, and 14.0
Other repositories: Change2improve/dms, ERPymes/ERPymes, ForgeFlow/dms, flectra-hq/flectra, kevinpthorne/flectra, kmee/dms, ksher-solutions/dms, mausvt/flectra, rameshwordhakal/dms, shawndanger/dms, and tegin/dms

<h1 class="title">Document Management System</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/dms/tree/15.0/dms"><img alt="OCA/dms" src="https://img.shields.io/badge/github-OCA%2Fdms-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/dms-15-0/dms-15-0-dms"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/292/15.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>DMS is a module for creating, managing and viewing document files directly within Odoo. This module is only the basis for an entire ecosystem of apps that extend and seamlessly integrate with the document management system.</p> <p>This module adds portal functionality for directories and files for allowed users, both portal or internal users. You can get as well a tokenized link from a directory or a file for sharing it with any anonymous user.</p> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#installation" id="id1">Installation</a></li> <li><a class="reference internal" href="#configuration" id="id2">Configuration</a><ul> <li><a class="reference internal" href="#migration" id="id3">Migration</a></li> </ul> </li> <li><a class="reference internal" href="#usage" id="id4">Usage</a><ul> <li><a class="reference internal" href="#portal-functionality" id="id5">Portal functionality</a></li> </ul> </li> <li><a class="reference internal" href="#known-issues-roadmap" id="id6">Known issues / Roadmap</a></li> <li><a class="reference internal" href="#bug-tracker" id="id7">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id8">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id9">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id10">Contributors</a></li> <li><a class="reference internal" href="#other-credits" id="id11">Other credits</a></li> <li><a class="reference internal" href="#maintainers" id="id12">Maintainers</a></li> </ul> </li> </ul> </div> <a name="installation"></a> <h2 class="with-subtitle"><a class="toc-backref" href="#id1">Installation</a></h2> <h2 class="section-subtitle" id="preview"><span class="section-subtitle">Preview</span></h2> <p><code>mail_preview_base</code> is required for DMS but it is recommended to install all the other <cite>mail_preview</cite> modules from <cite>social</cite> OCA repository in order to improve the preview of files.</p> <p><code>python-magic</code> library is recommended to be installed for having whole support to get proper file types and file preview.</p> <a name="configuration"></a> <h2><a class="toc-backref" href="#id2">Configuration</a></h2> <p>To configure this module, you need to:</p> <ol class="arabic simple"> <li>Go to <em>Documents -&gt; Configuration -&gt; Storages</em>.</li> <li><dl class="first docutils"> <dt>Create a new document storage. You can choose between two options on <cite>Save Type</cite>:</dt> <dd><ul class="first last"> <li><cite>Database</cite>: Store the files on the database as a field</li> <li><cite>Attachment</cite>: Store the files as attachments</li> </ul> </dd> </dl> </li> <li><dl class="first docutils"> <dt>Next create an administrative access group. Go to <em>Configuration -&gt; Access Groups</em>.</dt> <dd><ul class="first last"> <li>Create a new group, name it appropriately, and turn on all three permissions (Create, Write and Unlink - Read is implied and always enabled).</li> <li>Add any other top-level administrative users to the group if needed (your user should already be there).</li> <li>You can create other groups in here later for fine grained access control.</li> </ul> </dd> </dl> </li> <li>Afterwards go to <em>Documents -&gt; Directories</em>.</li> <li><dl class="first docutils"> <dt>Create a new directory, mark it as root and select the previously created setting.</dt> <dd><ul class="first last"> <li>Select the <em>Groups</em> tab and add your administrative group created above.</li> </ul> </dd> </dl> </li> <li><dl class="first docutils"> <dt>On the Directory you can also add other access groups (created above) that will be able to:</dt> <dd><ul class="first last"> <li>read</li> <li>create</li> <li>write</li> <li>delete</li> </ul> </dd> </dl> </li> </ol> <a name="migration"></a> <h3><a class="toc-backref" href="#id3">Migration</a></h3> <p>If you need to modify the storage Save Type you might want to migrate the file data. In order to achieve it you need to:</p> <ol class="arabic simple"> <li>Go to <em>Documents -&gt; Configuration -&gt; Storage</em> and select the storage you want to modify</li> <li>Modify the save type</li> <li>Press the button <cite>Migrate files</cite> if you want to migrate all the files at once</li> <li>Press the button <cite>Manual File Migration</cite> in order to specify files one by one</li> </ol> <p>You can check all the files that still needs to be migrated from all storages and migrate them manually on <em>Documents -&gt; Configuration -&gt; Migration</em></p> <a name="usage"></a> <h2><a class="toc-backref" href="#id4">Usage</a></h2> <p>The best way to manage the documents is to switch to the Documents view. Existing documents can be managed there and new documents can be created.</p> <a name="portal-functionality"></a> <h3><a class="toc-backref" href="#id5">Portal functionality</a></h3> <p>You can add any portal user to DMS access groups, and then allow that group in directories, so they will see in the portal such directories and their files. Another possibility is to click on &quot;Share&quot; button inside a directory or a file for obtaining a tokenized link for single access to that resource, no matter if logged or not.</p> <a name="known-issues-roadmap"></a> <h2><a class="toc-backref" href="#id6">Known issues / Roadmap</a></h2> <ul class="simple"> <li>Files preview in portal</li> <li>Allow to download folder in portal and create zip file with all content</li> <li>Save in cache own_root directories and update in every create/write/unlink function</li> <li>Add a migration procedure for converting an storage to attachment one for populating existing records with attachments as folders</li> <li>Add a link from attachment view in chatter to linked documents</li> <li>If Inherit permissions from related record (the inherit_access_from_parent_record field from storage) is changed when directories already exist, inconsistencies may occur because groups defined in the directories and subdirectories will still exist, all groups in these directories should be removed before changing.</li> <li>Since portal users can read <code>dms.storage</code> records, if your module extends this model to another storage backend that needs using secrets, remember to forbid access to the secrets fields by other means. It would be nice to be able to remove that rule at some point.</li> </ul> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id7">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/dms/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed <a class="reference external" href="https://github.com/OCA/dms/issues/new?body=module:%20dms%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id8">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id9">Authors</a></h3> <ul class="simple"> <li>MuK IT</li> <li>Tecnativa</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id10">Contributors</a></h3> <ul class="simple"> <li>Mathias Markl &lt;<a class="reference external" href="mailto:mathias.markl&#64;mukit.at">mathias.markl&#64;mukit.at</a>&gt;</li> <li>Enric Tobella &lt;<a class="reference external" href="mailto:etobella&#64;creublanca.es">etobella&#64;creublanca.es</a>&gt;</li> <li>Antoni Romera</li> <li>Gelu Boros &lt;<a class="reference external" href="mailto:gelu.boros&#64;rgbconsulting.com">gelu.boros&#64;rgbconsulting.com</a>&gt;</li> <li><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:<ul> <li>Víctor Martínez</li> <li>Pedro M. Baeza</li> <li>Jairo Llopis</li> </ul> </li> </ul> <a name="other-credits"></a> <h3><a class="toc-backref" href="#id11">Other credits</a></h3> <p>Some pictures are based on or inspired by:</p> <ul class="simple"> <li><a class="reference external" href="https://www.flaticon.com/authors/roundicons">Roundicons</a></li> <li><a class="reference external" href="https://www.flaticon.com/authors/smashicons">Smashicons</a></li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id12">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>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.</p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/dms/tree/15.0/dms">OCA/dms</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>

Dependency Graph