Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
195 commits
Select commit Hold shift + click to select a range
adfb877
Version 1.0.0
May 4, 2017
29d5ac8
9.0 > 10.0
May 13, 2017
16ab473
added markdown preview using showdown js library
sherpya Jul 24, 2017
70c23bc
update
Oct 4, 2017
305291d
Add Ukrainian translation to mik_dms and muk_dms_access
Jun 25, 2018
a030698
Documents 2.0
keshrath Jul 10, 2018
1445d50
publish muk_dms - 11.0
keshrath Jul 30, 2018
544958d
v12
keshrath Sep 12, 2018
c120bdd
[IMP] : black, isort, prettier
etobella May 18, 2020
2396b20
[MIG] dms: from muk_dms to dms
etobella May 18, 2020
e9c7ce7
[MIG] Dms tag
May 18, 2020
25e3754
[MIG] dms: File
May 18, 2020
1415c08
[MIG][13.0] dms: Finish migration
etobella May 18, 2020
fe179e5
[IMP] Minor mig fixes
May 19, 2020
216d201
[MIG] dms: fix tests
etobella May 19, 2020
6c080c5
[IMP] Add security groups
May 19, 2020
f476930
[ADD] dms: add funcionality of muk_dms_file
May 19, 2020
1d2a532
[MIG] dms: File functionality
etobella May 19, 2020
304ac97
[IMP] dms: Allow to drag and drop
etobella May 19, 2020
636ef47
[FIX] Various fixes
May 19, 2020
1b2f130
[IMP] dms: Add mail
etobella May 19, 2020
80a7e58
[FIX] dms: remove unused code and fixing: webpanel, migration, thumbn…
etobella May 19, 2020
32f6b5f
[IMP] dms: add migration script for muk_dms
etobella Jul 6, 2020
63e4956
[13.0][MIG] dms: make migrations scripts compatible with older
LoisRForgeFlow Jul 9, 2020
0faf87c
[FIX] dms: Download file with its proper name
etobella Aug 12, 2020
cfd5e10
[FIX] dms: missing banner images & Load fields on the usual way
etobella Aug 14, 2020
bfb336d
[FIX] dms: Fix preview widget
etobella Aug 27, 2020
82b5c01
[FIX] dms: fix wrong test
Sep 28, 2020
02c78fe
[IMP] dms: Portal
victoralmau Oct 5, 2020
4a035e7
[FIX] dms: /my/dms change to user and separate some urls in some func…
victoralmau Oct 19, 2020
1f30fa4
[FIX] : Fix mimetype error in some files (.xlsx for example)
victoralmau Nov 3, 2020
17b1f9f
[ADD] DMS integration with attachment
luismalta Aug 14, 2020
c9606ba
[IMP] dms: Attachment integration
victoralmau Nov 6, 2020
b8bc279
Added translation using Weblate (Hebrew)
ygol Nov 10, 2020
6fb5fc7
Added translation using Weblate (Dutch)
bosd Dec 13, 2020
b36b936
[FIX] dms: Remove request website user try
victoralmau Jan 18, 2021
6177e29
[FIX] dms: Fix error when web_drop_target addon used to create new fi…
victoralmau Feb 1, 2021
a6d0aa4
[FIX] dms: Adapt to 13.0
victoralmau Feb 2, 2021
839ff76
[IMP] dms: Integrate with mail_preview_base
etobella Sep 28, 2020
6f3cc45
[FIX] dms: Kanban view
victoralmau Feb 8, 2021
b005495
[FIX] dms: Remove category creation in kanban tag view to prevent error
victoralmau Feb 11, 2021
b951cf3
[FIX] dms: Use sudo() in attachment operacion (search dms directories…
victoralmau Feb 17, 2021
b8f6027
[REF+FIX] dms: Refactor code to create abstract.dms.mixin to contain …
victoralmau Feb 17, 2021
0c00077
[FIX] dms: Prevent error when archive records and later process try t…
victoralmau Feb 18, 2021
d1b3f62
[FIX] dms: Add domain operator
Shide Apr 22, 2021
45b8e11
[12.0] [FIX] dms: Check `default_directory_id` context key
Shide Apr 26, 2021
6222330
[FIX] dms: Prevent parent_id error in directories in some UI cases [F…
victoralmau Mar 30, 2021
4277913
[IMP] dms: Inherit permissions from related records
victoralmau Apr 5, 2021
e8a3ef2
[IMP] dms: black, isort, prettier
victoralmau Apr 8, 2021
c694f87
[MIG] dms: Migration to 14.0
victoralmau Apr 27, 2021
1db7c65
[FIX] dms: Remove action column in portal (only used in files) and co…
victoralmau May 25, 2021
a13cb50
[FIX] dms: Fix error in portal with access_token
victoralmau May 26, 2021
60d66dc
[FIX] dms: Improve tests to prevent error if installed other addons a…
victoralmau May 31, 2021
126acec
[FIX] dms: Apply _apply_access_groups correctly (specially according …
victoralmau May 27, 2021
6a164f4
[FIX] improve some queries
Jun 10, 2021
1a0f96a
[FIX] dms: cascade removal of related files/directories
Jun 8, 2021
d648103
[FIX] dms: do not fail for missing models on upgrade
Jun 1, 2021
60a5765
[FIX] dms: image thumbnails performance
May 28, 2021
e9053a1
[FIX] dms: Fix multi-company rules + migration scripts
victoralmau Jul 8, 2021
61c235c
[REF] dms: modify permissions computation
Jul 8, 2021
034665d
[FIX] dms: respect computed security rules in all contexts
Jul 8, 2021
310edc3
[FIX] dms: Prevent error (apply sudo()) when recursive directories re…
victoralmau Jul 8, 2021
724128f
[FIX] dms: Fix tests for environments that add other groups to base u…
joao-p-marques Jul 9, 2021
c6c4383
[REF] dms: Adapt to 14.0
victoralmau Jul 9, 2021
fd732b2
[IMP] dms: automatic image thumbnails
Jul 28, 2021
8b95459
Explicit Access Group instructions
majenkotech Sep 13, 2021
6262af3
[FIX] dms: Add python-magic library to readme
victoralmau Sep 3, 2021
f908647
[FIX] dms: Drag & Drop
Tardo Oct 20, 2021
9e2f1c0
[IMP] dms: Set the drop target to the kanban view, excluding the sear…
etobella Oct 29, 2021
8e64abe
[FIX] dms: Pending attribute mimetype
etobella Oct 29, 2021
7e1d43b
[FIX] dms: Show the total of files (of all subdirectories) in the for…
victoralmau Nov 5, 2021
9d69997
[FIX] dms: Define the file extension correctly (even if there is no e…
victoralmau Nov 5, 2021
597bce0
[FIX] dms: Prevent CacheMis error from count_total_files in some NewI…
victoralmau Jan 24, 2022
3b5dfad
[FIX] dms: Change size field type from integer to float to prevent 21…
victoralmau Jan 24, 2022
9a283da
[FIX] dms: Replace the content field with size in the form view of th…
victoralmau Feb 7, 2022
a5742a7
[FIX] dms: The internal user group is added as an inheritance to the …
victoralmau Mar 1, 2022
de3dcae
[MIG] dms: Migration to 15.0
JasminSForgeFlow Feb 11, 2022
5835cc4
[MIG] dms: Finish migration
etobella May 17, 2022
d5bc5b7
[FIX] dms: Add Archived ribbon in form views and remove active field …
victoralmau May 17, 2022
bfc12b7
[FIX] dms: do_warn method no longer available in v15
gdrius Jul 15, 2022
3b31e73
Translated using Weblate (German)
marylla Jul 18, 2022
bdb768b
[IMP+FIX] dms: Searchpanel changes:
victoralmau Sep 1, 2022
e999d84
[IMP] dms: Use _prepare_home_portal_values() function.
victoralmau Sep 6, 2022
8bc1afe
[IMP] dms: Refactor tests.
victoralmau Sep 5, 2022
962ed2c
[IMP] dms: Changes in file tree view: - Set multi_edit - Add tag_ids …
victoralmau Jul 13, 2021
8b84e7e
[FIX] dms: Compute mimetype in dms_file correctly to allow preview
victoralmau Jul 13, 2021
196e497
[IMP] dms: automatic image thumbnails
victoralmau Nov 8, 2021
81e8336
[IMP] dms: Show in directory kaban view only root directories (Change…
victoralmau Jul 14, 2021
6771329
[FIX] dms: Show directory short name in searchpanel.
victoralmau Sep 7, 2022
8e79379
[FIX] dms: Searchpanel from directories
victoralmau Sep 8, 2022
3f05a6e
[FIX] dms: Add operator parameter required (forgotten at https://gith…
victoralmau Sep 12, 2022
ccce2db
[FIX] dms: skip attachment creation when storage type is different fr…
marcelsavegnago Sep 16, 2022
a658bbf
[FIX] dms: Remove migrations folder from 14.0
victoralmau Nov 22, 2022
7edfc20
[FIX] dms: Remove parent_id defined if you do not have access to it (…
victoralmau Feb 10, 2023
0cc6939
[FIX] dms: Limit breadcrumb from portal to directories you have acces…
victoralmau Feb 9, 2023
b296e5d
[FIX] dms: Get the "parent" directories (those of the top level to wh…
victoralmau Feb 7, 2023
6069d73
[FIX] dms: Use the correct domain with inherit_access_from_parent_rec…
victoralmau Jan 25, 2023
e61b61c
[IMP] dms: Add action_dms_file_wizard_selector action.
victoralmau Feb 10, 2023
599ada8
[FIX] dms: dms.file thumbnail generation checks for supported mimetypes
HekkiMelody Apr 3, 2023
6a255de
[IMP] dms: more restrictive access rights for access groups
HekkiMelody Aug 31, 2022
3cc41a7
[IMP] dms: Increase the speed of tests
victoralmau Jul 18, 2023
0c8afbd
[FIX] dms: Explicitly exclude the pdf type in the image_1920 field of…
victoralmau Jun 15, 2023
7b99ad4
Translated using Weblate (Spanish)
Ivorra78 Jul 20, 2023
e45cb2c
[MIG] dms: Migration from 15.0 to 16.0
Sep 18, 2023
fde2f9d
Added translation using Weblate (Portuguese (Brazil))
adrianojprado Nov 3, 2023
34e2897
[16.0][IMP]dms: adjust contributors and sponsor
Nov 6, 2023
2e16943
Translated using Weblate (Portuguese (Brazil))
adrianojprado Nov 7, 2023
b407636
Translated using Weblate (Italian)
mymage Nov 12, 2023
cd60ea2
Translated using Weblate (Spanish)
Ivorra78 Nov 15, 2023
b67eabf
[FIX] dms: remove padding only for directory kanban records
lijoantony Nov 16, 2023
5c07e76
Translated using Weblate (Italian)
mymage Nov 17, 2023
62761a2
[IMP] dms: Show all directories in searchpanel from files
victoralmau Dec 13, 2023
f1e9765
[FIX] dms: Correctly filter records when selecting a searchpanel item…
victoralmau Jan 5, 2024
724f7e7
Translated using Weblate (Portuguese (Brazil))
adrianojprado Jan 5, 2024
f2243be
[IMP]dms: check for same storage
PicchiSeba Sep 1, 2023
10e50d8
Translated using Weblate (Spanish)
Ivorra78 Jan 9, 2024
fb36438
Translated using Weblate (Italian)
mymage Jan 11, 2024
891a07d
[FIX] dms: Improve search by model
etobella Oct 25, 2023
9e78571
[FIX] dms: Avoid error when set files from directory form view
adasatorres Feb 7, 2024
a4b4209
[FIX] dms: Set the correct directory_id value according to the domain…
victoralmau Feb 9, 2024
4aab978
[FIX] dms: Fix smartbuttons from files and directories
victoralmau Feb 7, 2024
d513392
[IMP] dms: Improve tests
victoralmau Feb 16, 2024
3c350a8
Translated using Weblate (Italian)
mymage Feb 16, 2024
19f976b
[IMP] dms: Add ACLs to dms.storage for users with the basic permission
victoralmau Jan 18, 2024
169faa0
[IMP] dms: Add human_size field to directories and files
victoralmau Jan 29, 2024
b62db25
[FIX] dms: Improve the unlink method in base to avoid errors
victoralmau Jan 25, 2024
c12330e
Added translation using Weblate (Portuguese)
peterromao Feb 29, 2024
4a399a7
[FIX] dms: Change display_name from directory kanban buttons (Directo…
victoralmau Mar 26, 2024
808f805
[IMP] dms: Add default_order to file and directory tree to prevent co…
victoralmau Mar 27, 2024
c7666fe
[IMP] dms: Add number items (directories and files) to directory kanb…
victoralmau Apr 15, 2024
e9f997a
[IMP] dms: Add move (change directory) action from files
victoralmau Mar 5, 2024
fbe32b2
[16.0][FIX]dms: error when clicked the file smart button on directory…
adasatorres May 14, 2024
51fb3d4
[IMP] dms: Remove string=Size from the human_size field to avoid the …
tva-subteno-it May 22, 2024
f80eee2
[FIX] dms: Remove incorrect character in maximum upload size error me…
tva-subteno-it May 30, 2024
dc0bf16
[IMP] dms: Capture correct error to be shown at notification
tva-subteno-it Jun 6, 2024
1ae1901
[FIX] dms: Allow share (directories and files) without 'Contact creat…
victoralmau Jun 18, 2024
4d7ff44
[MIG] DMS: Migration to 17.0
tva-subteno-it May 30, 2024
362ef17
Translated using Weblate (Italian)
mymage Jul 29, 2024
c425dd4
Translated using Weblate (French)
tva-subteno-it Aug 9, 2024
b7a62d2
[IMP+FIX] dms: Improve performance + Avoid non-existing record access…
victoralmau Jul 22, 2024
9d6f414
[FIX] dms: Remove log warning in dms.file
victoralmau Aug 20, 2024
7bc321e
Added translation using Weblate (Persian)
mostafabarmshory Aug 28, 2024
704ab55
[I18N] dms: Fix fa.po
pedrobaeza Sep 6, 2024
c559bab
Translated using Weblate (Italian)
mymage Sep 18, 2024
78a7b29
[IMP] dms: Change portal_my_home_dms to use its own div
victoralmau Oct 10, 2024
3ce9d4c
[IMP] dms: Add the mk_file_kanban_view class to the custom kanban view
victoralmau Oct 9, 2024
4fd8d13
[IMP] dms: Show Upload button in the file kanban view only if it is a…
victoralmau Oct 11, 2024
9727410
[IMP] dms: Add clipboard limitation to roadmap
victoralmau Dec 11, 2024
e65dd81
[MIG] dms: pre-commit auto fixes
kobros-tech Jan 14, 2025
86422d4
[MIG] dms: Migration to 18.0
kobros-tech Jan 27, 2025
512dd98
[UPD] Update dms.pot
Apr 10, 2025
f0c0bc4
[BOT] post-merge updates
OCA-git-bot Apr 10, 2025
5bd2436
[FIX] dms: Show full file name in kanban view
victoralmau Apr 14, 2025
feb2502
[BOT] post-merge updates
OCA-git-bot Apr 21, 2025
6e2c3f9
[FIX] dms: Delete the file if the attachment is deleted
victoralmau Mar 28, 2025
6e49acc
[BOT] post-merge updates
OCA-git-bot Apr 21, 2025
93954f1
[FIX] dms: Show short name of directories in searchpanel
victoralmau Apr 21, 2025
7d6b40a
[BOT] post-merge updates
OCA-git-bot Apr 22, 2025
6dc3ad0
[FIX] dms: searchpanel changes apply only to dms
giarve Apr 26, 2025
5d7a52c
[BOT] post-merge updates
OCA-git-bot Apr 30, 2025
2dbbf02
[IMP] dms: avoid unnecessary DMS queries in unlink
kaynnan Apr 30, 2025
94ec604
[BOT] post-merge updates
OCA-git-bot May 7, 2025
10d94da
Update copier to v1.31
CarlosRoca13 May 9, 2025
55e65fe
[FIX] dms: Check that the create/write/unlink methods can be executed
victoralmau Jun 11, 2025
b349cc7
[BOT] post-merge updates
OCA-git-bot Jun 13, 2025
c8f0648
Translated using Weblate (Italian)
eLBati Jun 19, 2025
7db66ae
[UPD] Update dms.pot
Jun 19, 2025
9de374f
Update translation files
weblate Jun 19, 2025
b46b2c4
Translated using Weblate (Italian)
mymage Jun 20, 2025
17b6243
Translated using Weblate (Italian)
mymage Jun 21, 2025
2bb0aa3
Added translation using Weblate (Swedish)
jakobkrabbe Sep 18, 2025
07941cf
[FIX] dms: Fix the inheritance of the search_panel so that the domain…
CarlosRoca13 Jan 20, 2026
4b044e8
[BOT] post-merge updates
OCA-git-bot Jan 21, 2026
fca5466
Translated using Weblate (Spanish)
herminioelx Feb 19, 2026
d828285
[FIX] dms: allow unarchiving DMS files for non-superusers
shagab99 Apr 1, 2026
e4986d6
[BOT] post-merge updates
OCA-git-bot Apr 6, 2026
d5b0dab
[IMP] dms: pre-commit auto fixes
dnplkndll May 12, 2026
724ff8b
[19.0][MIG] dms: Migration to 19.0
dnplkndll May 12, 2026
57fcfbf
[19.0][IMP] dms: kanban density — initials chip, metadata chips
dnplkndll May 12, 2026
a0798d1
[19.0][IMP] dms: image thumbnails on kanban cards
dnplkndll May 12, 2026
91abda9
[19.0][IMP] dms: condense form-view header into single hero block
dnplkndll May 12, 2026
7594fd4
[19.0][IMP] dms: inline metadata into settings group, drop notebook
dnplkndll May 12, 2026
2145395
[19.0][IMP] dms: portal card grid with mimetype-striped accents
dnplkndll May 12, 2026
aa0ca18
[19.0][IMP] dms: searchpanel hierarchy + multi-select chips
dnplkndll May 12, 2026
a3e3ad6
[19.0][IMP] dms: animated dropzone with marching dashed border
dnplkndll May 12, 2026
806aa3a
[19.0][IMP] dms: directory form hero + inline metadata
dnplkndll May 12, 2026
b3d4ac9
[19.0][REF] dms: extract shared accent token partial
dnplkndll May 16, 2026
098d6c9
[19.0][IMP] dms: unified card chrome — refresh directory kanban + ali…
dnplkndll May 16, 2026
6ee958f
[19.0][IMP] dms: portal cards consume the shared accent system
dnplkndll May 16, 2026
a8f867a
[19.0][DOC] dms: describe the 19.0 UI enhancements in USAGE.md
dnplkndll May 16, 2026
1e7be68
[19.0][FIX] dms: load shared SCSS partial via manifest, not relative …
dnplkndll May 16, 2026
d8de42e
[19.0][CI] dms: apply prettier auto-formatting
dnplkndll May 16, 2026
d8b9204
[19.0][FIX] dms: scrub @import comment strings flagged by checklog
dnplkndll May 16, 2026
ed1b3c0
[19.0][FIX] dms: address review findings on the 18.0→19.0 migration
dnplkndll May 16, 2026
6cd70cd
[19.0][DOC] dms: map dms accent tokens onto Odoo 19 design tokens
dnplkndll May 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
410 changes: 410 additions & 0 deletions dms/README.rst

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dms/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from . import controllers
from . import models
from . import wizards
81 changes: 81 additions & 0 deletions dms/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# Copyright 2017-2019 MuK IT GmbH
# Copyright 2024 Subteno - Timothée Vannier (https://www.subteno.com).
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

{
"name": "Document Management System",
"summary": """Document Management System for Odoo""",
"version": "19.0.1.0.0",
"category": "Document Management",
"license": "LGPL-3",
"website": "https://github.com/OCA/dms",
"author": "MuK IT, Tecnativa, Odoo Community Association (OCA)",
"depends": [
"mail",
"http_routing",
"onboarding",
"portal",
"base",
"web",
],
"data": [
# Security
"security/security.xml",
"security/ir.model.access.csv",
# Actions
"actions/file.xml",
# Templates
"template/portal.xml",
# Data
"data/onboarding_data.xml",
# Views
"views/dms_tag.xml",
"views/dms_category.xml",
"views/dms_file.xml",
"views/dms_directory.xml",
"views/storage.xml",
"views/dms_access_groups_views.xml",
"views/res_config_settings.xml",
"views/menu.xml",
# Wizard
"wizards/wizard_dms_file_move_views.xml",
"wizards/wizard_dms_share_views.xml",
],
"assets": {
"web.assets_backend": [
# SCSS — shared accent tokens are concatenated before any file
# that consumes the mixins/maps, otherwise libsass cannot
# resolve them (Odoo's SCSS bundler does not expose include
# paths for relative @import resolution).
"dms/static/src/scss/_dms_tokens.scss",
"dms/static/src/scss/kanban.scss",
# JS
"dms/static/src/models/*.js",
"dms/static/src/js/fields/path_json/path_owl.esm.js",
"dms/static/src/js/fields/preview_binary/preview_record.esm.js",
"dms/static/src/js/views/*.esm.js",
# XML
"dms/static/src/js/fields/path_json/path_owl.xml",
"dms/static/src/js/fields/preview_binary/preview_record.xml",
"dms/static/src/js/views/*.xml",
],
"web.assets_frontend": [
"dms/static/src/scss/_dms_tokens.scss",
"dms/static/src/scss/portal.scss",
],
"web.assets_tests": [
"dms/static/tests/tours/**/*",
],
},
"demo": [
"demo/res_users.xml",
"demo/access_group.xml",
"demo/category.xml",
"demo/tag.xml",
"demo/storage.xml",
"demo/directory.xml",
"demo/file.xml",
],
"icon": "/dms/static/description/icon.png",
"application": True,
}
14 changes: 14 additions & 0 deletions dms/actions/file.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright 2017-2019 MuK IT GmbH
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
-->
<odoo>
<record id="action_dms_attachment_migrate" model="ir.actions.server">
<field name="name">Migrate</field>
<field name="model_id" ref="model_dms_file" />
<field name="binding_model_id" ref="dms.model_dms_file" />
<field name="state">code</field>
<field name="code">records.action_migrate()</field>
</record>
</odoo>
2 changes: 2 additions & 0 deletions dms/controllers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import main
from . import portal
15 changes: 15 additions & 0 deletions dms/controllers/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2017-2019 MuK IT GmbH
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
from odoo import http
from odoo.http import request


class OnboardingController(http.Controller):
@http.route("/config/dms.forbidden_extensions", type="jsonrpc", auth="user")
def forbidden_extensions(self, **_kwargs):
params = request.env["ir.config_parameter"].sudo()
return {
"forbidden_extensions": params.get_param(
"dms.forbidden_extensions", default=""
)
}
Loading
Loading