Public release from ruodoo-project: 19.0 - 2026-05-31 21:19:12 UTC
This commit is contained in:
59
dms/readme/CONFIGURE.md
Normal file
59
dms/readme/CONFIGURE.md
Normal file
@ -0,0 +1,59 @@
|
||||
# Configuration
|
||||
|
||||
To configure this module, you need to:
|
||||
|
||||
## 1. Create a storage
|
||||
1. Go to *Documents -\> Configuration -\> Storages*.
|
||||
|
||||
2. Create a new document storage. You can choose between three options on `Save Type`:
|
||||
- `Database`: Store the files on the database as a field
|
||||
- `Attachment`: Store the files as attachments
|
||||
- `File`: Store the files on the file system
|
||||
|
||||
## 2. Create an access group
|
||||
1. Next, create an administrative access group. Go to *Configuration -\> Access Groups*.
|
||||
- Create a new group, name it appropriately, and turn on all three
|
||||
permissions (Create, Write and Unlink. Read is implied and always
|
||||
enabled).
|
||||
- Add any other top-level administrative users to the group if
|
||||
needed (your user should already be there).
|
||||
- You can create other groups in here later for fine-grained access
|
||||
control.
|
||||
|
||||
## 3. Create a directory
|
||||
1. Afterward, go to *Documents -\> Directories*.
|
||||
|
||||
2. Create a new directory, mark it as root and select the previously created setting.
|
||||
- Select the *Groups* tab and add your administrative group created
|
||||
above.
|
||||
If your directory was already created before the group, you can also add it in the
|
||||
access groups (*Configuration -\> Access Groups*).
|
||||
|
||||
3. In the directory settings, you can also add other access groups (created above) that will be able to:
|
||||
- read
|
||||
- create
|
||||
- write
|
||||
- delete
|
||||
|
||||
# Migration
|
||||
|
||||
If you need to modify the storage `Save Type` you might want to migrate
|
||||
the file data. To achieve it, you need to:
|
||||
|
||||
1. Go to *Documents -\> Configuration -\> Storage* and select the
|
||||
storage you want to modify
|
||||
2. Modify the save type
|
||||
3. Press the button Migrate files if you want to migrate all the files
|
||||
at once
|
||||
4. Press the button Manual File Migration to specify files one by one
|
||||
|
||||
You can check all the files that still need to be migrated from all
|
||||
storages and migrate them manually on *Documents -\> Configuration -\>
|
||||
Migration*
|
||||
|
||||
# File Wizard Selection
|
||||
|
||||
There is an action called `action_dms_file_wizard_selector` to open a
|
||||
wizard to list files in kanban view. This can be used (example
|
||||
dms_attachment_link module) to add a button in kanban view with the
|
||||
action we need.
|
||||
16
dms/readme/CONTRIBUTORS.md
Normal file
16
dms/readme/CONTRIBUTORS.md
Normal file
@ -0,0 +1,16 @@
|
||||
- Mathias Markl \<<mathias.markl@mukit.at>\>
|
||||
- Enric Tobella \<<etobella@creublanca.es>\>
|
||||
- Antoni Romera
|
||||
- Gelu Boros \<<gelu.boros@rgbconsulting.com>\>
|
||||
- [Tecnativa](https://www.tecnativa.com):
|
||||
- Víctor Martínez
|
||||
- Pedro M. Baeza
|
||||
- Jairo Llopis
|
||||
- [Elego](https://www.elegosoft.com):
|
||||
- Yu Weng \<<yweng@elegosoft.com>\>
|
||||
- Philip Witte \<<phillip.witte@elegosoft.com>\>
|
||||
- Khanh Bui \<<khanh.bui@mail.elegosoft.com>\>
|
||||
- [Subteno](https://www.subteno.com):
|
||||
- Timothée Vannier <<tva@subteno.com>>
|
||||
- [Kencove](https://www.kencove.com):
|
||||
- Mohamed Alkobrosli <<malkobrosly@kencove.com>>
|
||||
6
dms/readme/CREDITS.md
Normal file
6
dms/readme/CREDITS.md
Normal file
@ -0,0 +1,6 @@
|
||||
Some pictures are based on or inspired by:
|
||||
|
||||
- [Roundicons](https://www.flaticon.com/authors/roundicons)
|
||||
- [Smashicons](https://www.flaticon.com/authors/smashicons)
|
||||
- [EmojiOne](https://github.com/EmojiTwo/emojitwo) : Portal DMS icon
|
||||
- [GitHub Octicons](https://github.com/primer/octicons/) : The main DMS icon
|
||||
9
dms/readme/DESCRIPTION.md
Normal file
9
dms/readme/DESCRIPTION.md
Normal file
@ -0,0 +1,9 @@
|
||||
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.
|
||||
|
||||
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.
|
||||
4
dms/readme/INSTALL.md
Normal file
4
dms/readme/INSTALL.md
Normal file
@ -0,0 +1,4 @@
|
||||
## Preview
|
||||
|
||||
`python-magic` library is recommended to be installed for having whole
|
||||
support to get proper file types and file preview.
|
||||
21
dms/readme/ROADMAP.md
Normal file
21
dms/readme/ROADMAP.md
Normal file
@ -0,0 +1,21 @@
|
||||
- Files preview in portal
|
||||
- Allow to download folder in portal and create zip file with all
|
||||
content
|
||||
- Save in cache own_root directories and update in every
|
||||
create/write/unlink function
|
||||
- Add a migration procedure for converting an storage to attachment one
|
||||
for populating existing records with attachments as folders
|
||||
- Add a link from attachment view in chatter to linked documents
|
||||
- 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.
|
||||
- Since portal users can read `dms.storage` 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.
|
||||
- Searchpanel in files: Highlight items (shading) without records when
|
||||
filtering something (by name for example).
|
||||
- Accessing the clipboard (for example copy share link of file/directory)
|
||||
is limited to secure connections. It also happens in any part of Odoo.
|
||||
11
dms/readme/USAGE.md
Normal file
11
dms/readme/USAGE.md
Normal file
@ -0,0 +1,11 @@
|
||||
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.
|
||||
|
||||
## Portal functionality
|
||||
|
||||
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 "Share" button
|
||||
inside a directory or a file for obtaining a tokenized link for single
|
||||
access to that resource, no matter if logged or not.
|
||||
Reference in New Issue
Block a user