odoo-addon-dms 15.0.1.10.2__py3-none-any.whl → 15.0.1.11.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- odoo/addons/dms/README.rst +1 -1
- odoo/addons/dms/__init__.py +1 -0
- odoo/addons/dms/__manifest__.py +2 -1
- odoo/addons/dms/i18n/de.po +56 -0
- odoo/addons/dms/i18n/dms.pot +53 -0
- odoo/addons/dms/i18n/es.po +71 -93
- odoo/addons/dms/i18n/fr.po +56 -0
- odoo/addons/dms/i18n/he_IL.po +56 -0
- odoo/addons/dms/i18n/it.po +56 -0
- odoo/addons/dms/i18n/nl.po +56 -0
- odoo/addons/dms/i18n/ru.po +56 -0
- odoo/addons/dms/models/dms_file.py +14 -2
- odoo/addons/dms/security/ir.model.access.csv +2 -0
- odoo/addons/dms/static/description/index.html +1 -1
- odoo/addons/dms/tests/test_file.py +21 -0
- odoo/addons/dms/views/dms_file.xml +14 -0
- odoo/addons/dms/wizards/__init__.py +1 -0
- odoo/addons/dms/wizards/wizard_dms_file_move.py +25 -0
- odoo/addons/dms/wizards/wizard_dms_file_move_views.xml +41 -0
- {odoo_addon_dms-15.0.1.10.2.dist-info → odoo_addon_dms-15.0.1.11.0.2.dist-info}/METADATA +2 -2
- {odoo_addon_dms-15.0.1.10.2.dist-info → odoo_addon_dms-15.0.1.11.0.2.dist-info}/RECORD +23 -20
- {odoo_addon_dms-15.0.1.10.2.dist-info → odoo_addon_dms-15.0.1.11.0.2.dist-info}/WHEEL +0 -0
- {odoo_addon_dms-15.0.1.10.2.dist-info → odoo_addon_dms-15.0.1.11.0.2.dist-info}/top_level.txt +0 -0
odoo/addons/dms/i18n/ru.po
CHANGED
|
@@ -75,6 +75,19 @@ msgid ""
|
|
|
75
75
|
" Download"
|
|
76
76
|
msgstr ""
|
|
77
77
|
|
|
78
|
+
#. module: dms
|
|
79
|
+
#: model_terms:ir.ui.view,arch_db:dms.wizard_dms_file_move_form_view
|
|
80
|
+
msgid ""
|
|
81
|
+
"<i class=\"fa fa-exclamation-triangle mr-3\" title=\"Warning\"/>\n"
|
|
82
|
+
" <b>ATTENTION:</b> Tips to keep in mind before moving "
|
|
83
|
+
"files:<br/>\n"
|
|
84
|
+
" - This change cannot be undone.<br/>\n"
|
|
85
|
+
" - Remember that the permissions of the files are those "
|
|
86
|
+
"of the folder that contains it, therefore, it is possible that when you "
|
|
87
|
+
"change it, the permissions will also change.<br/>\n"
|
|
88
|
+
" Make this change at your own risk."
|
|
89
|
+
msgstr ""
|
|
90
|
+
|
|
78
91
|
#. module: dms
|
|
79
92
|
#: model_terms:ir.ui.view,arch_db:dms.view_dms_directory_kanban
|
|
80
93
|
#: model_terms:ir.ui.view,arch_db:dms.view_dms_file_kanban
|
|
@@ -388,6 +401,11 @@ msgstr ""
|
|
|
388
401
|
msgid "Archived Files"
|
|
389
402
|
msgstr ""
|
|
390
403
|
|
|
404
|
+
#. module: dms
|
|
405
|
+
#: model_terms:ir.ui.view,arch_db:dms.wizard_dms_file_move_form_view
|
|
406
|
+
msgid "Are you sure? All files will be moved."
|
|
407
|
+
msgstr ""
|
|
408
|
+
|
|
391
409
|
#. module: dms
|
|
392
410
|
#: code:addons/dms/models/storage.py:0
|
|
393
411
|
#: model:ir.model,name:dms.model_ir_attachment
|
|
@@ -416,6 +434,7 @@ msgstr ""
|
|
|
416
434
|
#: model_terms:ir.ui.view,arch_db:dms.view_dms_directory_new_form
|
|
417
435
|
#: model_terms:ir.ui.view,arch_db:dms.view_dms_file_new_form
|
|
418
436
|
#: model_terms:ir.ui.view,arch_db:dms.view_dms_storage_new_form
|
|
437
|
+
#: model_terms:ir.ui.view,arch_db:dms.wizard_dms_file_move_form_view
|
|
419
438
|
msgid "Cancel"
|
|
420
439
|
msgstr ""
|
|
421
440
|
|
|
@@ -590,6 +609,7 @@ msgstr ""
|
|
|
590
609
|
#: model:ir.model.fields,field_description:dms.field_dms_directory__count_files_title
|
|
591
610
|
#: model:ir.model.fields,field_description:dms.field_dms_storage__count_storage_files
|
|
592
611
|
#: model:ir.model.fields,field_description:dms.field_dms_tag__count_files
|
|
612
|
+
#: model:ir.model.fields,field_description:dms.field_wizard_dms_file_move__count_files
|
|
593
613
|
msgid "Count Files"
|
|
594
614
|
msgstr ""
|
|
595
615
|
|
|
@@ -680,6 +700,7 @@ msgstr ""
|
|
|
680
700
|
#: model:ir.model.fields,field_description:dms.field_dms_file__create_uid
|
|
681
701
|
#: model:ir.model.fields,field_description:dms.field_dms_storage__create_uid
|
|
682
702
|
#: model:ir.model.fields,field_description:dms.field_dms_tag__create_uid
|
|
703
|
+
#: model:ir.model.fields,field_description:dms.field_wizard_dms_file_move__create_uid
|
|
683
704
|
msgid "Created by"
|
|
684
705
|
msgstr ""
|
|
685
706
|
|
|
@@ -690,6 +711,7 @@ msgstr ""
|
|
|
690
711
|
#: model:ir.model.fields,field_description:dms.field_dms_file__create_date
|
|
691
712
|
#: model:ir.model.fields,field_description:dms.field_dms_storage__create_date
|
|
692
713
|
#: model:ir.model.fields,field_description:dms.field_dms_tag__create_date
|
|
714
|
+
#: model:ir.model.fields,field_description:dms.field_wizard_dms_file_move__create_date
|
|
693
715
|
msgid "Created on"
|
|
694
716
|
msgstr ""
|
|
695
717
|
|
|
@@ -813,6 +835,7 @@ msgstr ""
|
|
|
813
835
|
#. module: dms
|
|
814
836
|
#: model:ir.model,name:dms.model_dms_directory
|
|
815
837
|
#: model:ir.model.fields,field_description:dms.field_dms_file__directory_id
|
|
838
|
+
#: model:ir.model.fields,field_description:dms.field_wizard_dms_file_move__directory_id
|
|
816
839
|
#: model_terms:ir.ui.view,arch_db:dms.onboarding_directory_step
|
|
817
840
|
msgid "Directory"
|
|
818
841
|
msgstr ""
|
|
@@ -824,6 +847,7 @@ msgstr ""
|
|
|
824
847
|
#: model:ir.model.fields,field_description:dms.field_dms_file__display_name
|
|
825
848
|
#: model:ir.model.fields,field_description:dms.field_dms_storage__display_name
|
|
826
849
|
#: model:ir.model.fields,field_description:dms.field_dms_tag__display_name
|
|
850
|
+
#: model:ir.model.fields,field_description:dms.field_wizard_dms_file_move__display_name
|
|
827
851
|
msgid "Display Name"
|
|
828
852
|
msgstr ""
|
|
829
853
|
|
|
@@ -1064,6 +1088,7 @@ msgstr ""
|
|
|
1064
1088
|
#: model:ir.model.fields,field_description:dms.field_dms_file__id
|
|
1065
1089
|
#: model:ir.model.fields,field_description:dms.field_dms_storage__id
|
|
1066
1090
|
#: model:ir.model.fields,field_description:dms.field_dms_tag__id
|
|
1091
|
+
#: model:ir.model.fields,field_description:dms.field_wizard_dms_file_move__id
|
|
1067
1092
|
msgid "ID"
|
|
1068
1093
|
msgstr ""
|
|
1069
1094
|
|
|
@@ -1279,6 +1304,7 @@ msgstr ""
|
|
|
1279
1304
|
#: model:ir.model.fields,field_description:dms.field_dms_file____last_update
|
|
1280
1305
|
#: model:ir.model.fields,field_description:dms.field_dms_storage____last_update
|
|
1281
1306
|
#: model:ir.model.fields,field_description:dms.field_dms_tag____last_update
|
|
1307
|
+
#: model:ir.model.fields,field_description:dms.field_wizard_dms_file_move____last_update
|
|
1282
1308
|
msgid "Last Modified on"
|
|
1283
1309
|
msgstr ""
|
|
1284
1310
|
|
|
@@ -1289,6 +1315,7 @@ msgstr ""
|
|
|
1289
1315
|
#: model:ir.model.fields,field_description:dms.field_dms_file__write_uid
|
|
1290
1316
|
#: model:ir.model.fields,field_description:dms.field_dms_storage__write_uid
|
|
1291
1317
|
#: model:ir.model.fields,field_description:dms.field_dms_tag__write_uid
|
|
1318
|
+
#: model:ir.model.fields,field_description:dms.field_wizard_dms_file_move__write_uid
|
|
1292
1319
|
msgid "Last Updated by"
|
|
1293
1320
|
msgstr ""
|
|
1294
1321
|
|
|
@@ -1299,6 +1326,7 @@ msgstr ""
|
|
|
1299
1326
|
#: model:ir.model.fields,field_description:dms.field_dms_file__write_date
|
|
1300
1327
|
#: model:ir.model.fields,field_description:dms.field_dms_storage__write_date
|
|
1301
1328
|
#: model:ir.model.fields,field_description:dms.field_dms_tag__write_date
|
|
1329
|
+
#: model:ir.model.fields,field_description:dms.field_wizard_dms_file_move__write_date
|
|
1302
1330
|
msgid "Last Updated on"
|
|
1303
1331
|
msgstr ""
|
|
1304
1332
|
|
|
@@ -1421,6 +1449,17 @@ msgstr ""
|
|
|
1421
1449
|
msgid "Modification Date"
|
|
1422
1450
|
msgstr ""
|
|
1423
1451
|
|
|
1452
|
+
#. module: dms
|
|
1453
|
+
#: model:ir.actions.server,name:dms.action_wizard_dms_file_move
|
|
1454
|
+
#: model_terms:ir.ui.view,arch_db:dms.wizard_dms_file_move_form_view
|
|
1455
|
+
msgid "Move"
|
|
1456
|
+
msgstr ""
|
|
1457
|
+
|
|
1458
|
+
#. module: dms
|
|
1459
|
+
#: model:ir.actions.act_window,name:dms.wizard_dms_file_move_act_window
|
|
1460
|
+
msgid "Move files"
|
|
1461
|
+
msgstr ""
|
|
1462
|
+
|
|
1424
1463
|
#. module: dms
|
|
1425
1464
|
#: model:ir.model.fields,field_description:dms.field_dms_directory__my_activity_date_deadline
|
|
1426
1465
|
#: model:ir.model.fields,field_description:dms.field_dms_file__my_activity_date_deadline
|
|
@@ -1537,6 +1576,12 @@ msgstr ""
|
|
|
1537
1576
|
msgid "Only admin user"
|
|
1538
1577
|
msgstr ""
|
|
1539
1578
|
|
|
1579
|
+
#. module: dms
|
|
1580
|
+
#: code:addons/dms/models/dms_file.py:0
|
|
1581
|
+
#, python-format
|
|
1582
|
+
msgid "Only files in the same root directory can be moved."
|
|
1583
|
+
msgstr ""
|
|
1584
|
+
|
|
1540
1585
|
#. module: dms
|
|
1541
1586
|
#: code:addons/dms/models/storage.py:0
|
|
1542
1587
|
#, python-format
|
|
@@ -1710,6 +1755,7 @@ msgstr ""
|
|
|
1710
1755
|
|
|
1711
1756
|
#. module: dms
|
|
1712
1757
|
#: model:ir.model.fields,field_description:dms.field_dms_directory__root_directory_id
|
|
1758
|
+
#: model:ir.model.fields,field_description:dms.field_dms_file__root_directory_id
|
|
1713
1759
|
msgid "Root Directory"
|
|
1714
1760
|
msgstr ""
|
|
1715
1761
|
|
|
@@ -1983,6 +2029,11 @@ msgstr ""
|
|
|
1983
2029
|
msgid "Total Subdirectories"
|
|
1984
2030
|
msgstr ""
|
|
1985
2031
|
|
|
2032
|
+
#. module: dms
|
|
2033
|
+
#: model_terms:ir.ui.view,arch_db:dms.wizard_dms_file_move_form_view
|
|
2034
|
+
msgid "Total files"
|
|
2035
|
+
msgstr ""
|
|
2036
|
+
|
|
1986
2037
|
#. module: dms
|
|
1987
2038
|
#: model:dms.category,name:dms.category_04_demo
|
|
1988
2039
|
msgid "Traveling"
|
|
@@ -2075,6 +2126,11 @@ msgstr ""
|
|
|
2075
2126
|
msgid "Website communication history"
|
|
2076
2127
|
msgstr ""
|
|
2077
2128
|
|
|
2129
|
+
#. module: dms
|
|
2130
|
+
#: model:ir.model,name:dms.model_wizard_dms_file_move
|
|
2131
|
+
msgid "Wizard Dms File Move"
|
|
2132
|
+
msgstr ""
|
|
2133
|
+
|
|
2078
2134
|
#. module: dms
|
|
2079
2135
|
#: model:ir.model.fields,field_description:dms.field_dms_access_group__perm_write
|
|
2080
2136
|
#: model:ir.model.fields,field_description:dms.field_dms_directory__permission_write
|
|
@@ -12,7 +12,7 @@ from collections import defaultdict
|
|
|
12
12
|
from PIL import Image
|
|
13
13
|
|
|
14
14
|
from odoo import _, api, fields, models, tools
|
|
15
|
-
from odoo.exceptions import ValidationError
|
|
15
|
+
from odoo.exceptions import UserError, ValidationError
|
|
16
16
|
from odoo.osv import expression
|
|
17
17
|
from odoo.tools import consteq, human_size
|
|
18
18
|
from odoo.tools.mimetypes import guess_mimetype
|
|
@@ -46,7 +46,6 @@ class File(models.Model):
|
|
|
46
46
|
default=True,
|
|
47
47
|
help="If a file is set to archived, it is not displayed, but still exists.",
|
|
48
48
|
)
|
|
49
|
-
|
|
50
49
|
directory_id = fields.Many2one(
|
|
51
50
|
comodel_name="dms.directory",
|
|
52
51
|
string="Directory",
|
|
@@ -56,7 +55,9 @@ class File(models.Model):
|
|
|
56
55
|
auto_join=True,
|
|
57
56
|
required=True,
|
|
58
57
|
index=True,
|
|
58
|
+
tracking=True, # Leave log if "moved" to another directory
|
|
59
59
|
)
|
|
60
|
+
root_directory_id = fields.Many2one(related="directory_id.root_directory_id")
|
|
60
61
|
# Override acording to defined in AbstractDmsMixin
|
|
61
62
|
storage_id = fields.Many2one(
|
|
62
63
|
related="directory_id.storage_id",
|
|
@@ -273,6 +274,17 @@ class File(models.Model):
|
|
|
273
274
|
"documents_onboarding_file_state"
|
|
274
275
|
)
|
|
275
276
|
|
|
277
|
+
def action_wizard_dms_file_move(self):
|
|
278
|
+
items = self.browse(self.env.context.get("active_ids"))
|
|
279
|
+
root_directories = items.mapped("root_directory_id")
|
|
280
|
+
if len(root_directories) > 1:
|
|
281
|
+
raise UserError(_("Only files in the same root directory can be moved."))
|
|
282
|
+
result = self.env["ir.actions.act_window"]._for_xml_id(
|
|
283
|
+
"dms.wizard_dms_file_move_act_window"
|
|
284
|
+
)
|
|
285
|
+
result["context"] = dict(self.env.context)
|
|
286
|
+
return result
|
|
287
|
+
|
|
276
288
|
# ----------------------------------------------------------
|
|
277
289
|
# SearchPanel
|
|
278
290
|
# ----------------------------------------------------------
|
|
@@ -22,3 +22,5 @@ access_dms_access_group_public,access_dms_access_group_public,model_dms_access_g
|
|
|
22
22
|
access_dms_access_group_portal,access_dms_access_group_portal,model_dms_access_group,base.group_portal,1,0,0,0
|
|
23
23
|
access_security_access_groups_user,access_security_access_groups_user,model_dms_access_group,base.group_user,1,0,0,0
|
|
24
24
|
access_security_access_groups_dms_user,access_security_access_groups_dms_user,model_dms_access_group,group_dms_user,1,1,1,1
|
|
25
|
+
|
|
26
|
+
access_wizard_dms_file_move,access_wizard_dms_file_move,model_wizard_dms_file_move,group_dms_user,1,1,1,1
|
|
@@ -366,7 +366,7 @@ ul.auto-toc {
|
|
|
366
366
|
!! This file is generated by oca-gen-addon-readme !!
|
|
367
367
|
!! changes will be overwritten. !!
|
|
368
368
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
369
|
-
!! source digest: sha256:
|
|
369
|
+
!! source digest: sha256:3f64958669a8297a42e8c3ce8ba3e9d09fa29c4f4849a84e6197ec2286d267eb
|
|
370
370
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
371
371
|
<p><a class="reference external image-reference" 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 image-reference" 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 image-reference" 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 image-reference" 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 image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/dms&target_branch=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
|
372
372
|
<p>DMS is a module for creating, managing and viewing document files directly
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import base64
|
|
7
7
|
|
|
8
|
+
from odoo.exceptions import UserError
|
|
8
9
|
from odoo.tests import new_test_user
|
|
9
10
|
from odoo.tests.common import users
|
|
10
11
|
|
|
@@ -87,3 +88,23 @@ class FileFilestoreTestCase(StorageFileBaseCase):
|
|
|
87
88
|
self.assertEqual(file_pdf.extension, "pdf")
|
|
88
89
|
file_pdf.name = "Document_05.pdf"
|
|
89
90
|
self.assertEqual(file_pdf.extension, "pdf")
|
|
91
|
+
|
|
92
|
+
def test_wizard_dms_file_move(self):
|
|
93
|
+
file3 = self.create_file(directory=self.sub_directory_x)
|
|
94
|
+
all_files = self.file + self.file2 + file3
|
|
95
|
+
# Error: All files must have the same root directory
|
|
96
|
+
with self.assertRaises(UserError):
|
|
97
|
+
self.file_model.with_context(
|
|
98
|
+
active_ids=all_files.ids
|
|
99
|
+
).action_wizard_dms_file_move()
|
|
100
|
+
# Change the files that have the same root directory
|
|
101
|
+
files = self.file2 + file3
|
|
102
|
+
res = self.file_model.with_context(
|
|
103
|
+
active_ids=files.ids
|
|
104
|
+
).action_wizard_dms_file_move()
|
|
105
|
+
wizard_model = self.env[res["res_model"]].with_context(**res["context"])
|
|
106
|
+
wizard = wizard_model.create({"directory_id": self.directory.id})
|
|
107
|
+
self.assertEqual(wizard.count_files, 2)
|
|
108
|
+
wizard.process()
|
|
109
|
+
self.assertEqual(self.file2.directory_id, self.directory)
|
|
110
|
+
self.assertEqual(file3.directory_id, self.directory)
|
|
@@ -320,6 +320,8 @@
|
|
|
320
320
|
<field name="is_locked" invisible="1" />
|
|
321
321
|
<field name="is_lock_editor" invisible="1" />
|
|
322
322
|
<field name="name" />
|
|
323
|
+
<field name="directory_id" optional="hide" />
|
|
324
|
+
<field name="root_directory_id" optional="hide" />
|
|
323
325
|
<field name="write_date" />
|
|
324
326
|
<field name="human_size" />
|
|
325
327
|
<field name="mimetype" />
|
|
@@ -669,4 +671,16 @@
|
|
|
669
671
|
<field name="target">new</field>
|
|
670
672
|
<field name="view_id" ref="view_dms_file_new_form" />
|
|
671
673
|
</record>
|
|
674
|
+
<record id="action_wizard_dms_file_move" model="ir.actions.server">
|
|
675
|
+
<field name="name">Move</field>
|
|
676
|
+
<field name="model_id" ref="dms.model_dms_file" />
|
|
677
|
+
<field name="binding_model_id" ref="dms.model_dms_file" />
|
|
678
|
+
<field name="groups_id" eval="[(4, ref('dms.group_dms_user'))]" />
|
|
679
|
+
<field name="binding_view_types">list</field>
|
|
680
|
+
<field name="state">code</field>
|
|
681
|
+
<field name="code">
|
|
682
|
+
action = model.action_wizard_dms_file_move()
|
|
683
|
+
</field>
|
|
684
|
+
</record>
|
|
685
|
+
|
|
672
686
|
</odoo>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from . import wizard_dms_file_move
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Copyright 2024 Tecnativa - Víctor Martínez
|
|
2
|
+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
3
|
+
|
|
4
|
+
from odoo import api, fields, models
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class WizardDmsFileMove(models.TransientModel):
|
|
8
|
+
_name = "wizard.dms.file.move"
|
|
9
|
+
_description = "Wizard Dms File Move"
|
|
10
|
+
|
|
11
|
+
count_files = fields.Integer(readonly=True)
|
|
12
|
+
directory_id = fields.Many2one(
|
|
13
|
+
comodel_name="dms.directory", required=True, string="Directory"
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
@api.model
|
|
17
|
+
def default_get(self, fields):
|
|
18
|
+
vals = super().default_get(fields)
|
|
19
|
+
if self.env.context.get("active_ids"):
|
|
20
|
+
vals.update({"count_files": len(self.env.context.get("active_ids"))})
|
|
21
|
+
return vals
|
|
22
|
+
|
|
23
|
+
def process(self):
|
|
24
|
+
items = self.env["dms.file"].browse(self.env.context.get("active_ids"))
|
|
25
|
+
items.write({"directory_id": self.directory_id})
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
+
<!-- Copyright 2024 Tecnativa - Víctor Martínez
|
|
3
|
+
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
|
4
|
+
<odoo>
|
|
5
|
+
<record id="wizard_dms_file_move_form_view" model="ir.ui.view">
|
|
6
|
+
<field name="name">wizard.dms.file.move.form</field>
|
|
7
|
+
<field name="model">wizard.dms.file.move</field>
|
|
8
|
+
<field name="arch" type="xml">
|
|
9
|
+
<form>
|
|
10
|
+
<div class="alert alert-warning" role="alert">
|
|
11
|
+
<i class="fa fa-exclamation-triangle mr-3" title="Warning" />
|
|
12
|
+
<b>ATTENTION:</b> Tips to keep in mind before moving files:<br />
|
|
13
|
+
- This change cannot be undone.<br />
|
|
14
|
+
- Remember that the permissions of the files are those of the folder that contains it, therefore, it is possible that when you change it, the permissions will also change.<br
|
|
15
|
+
/>
|
|
16
|
+
Make this change at your own risk.
|
|
17
|
+
</div>
|
|
18
|
+
<group>
|
|
19
|
+
<field name="directory_id" />
|
|
20
|
+
<field name="count_files" string="Total files" />
|
|
21
|
+
</group>
|
|
22
|
+
<footer>
|
|
23
|
+
<button
|
|
24
|
+
name="process"
|
|
25
|
+
string="Move"
|
|
26
|
+
class="btn-primary"
|
|
27
|
+
type="object"
|
|
28
|
+
confirm="Are you sure? All files will be moved."
|
|
29
|
+
/>
|
|
30
|
+
<button string="Cancel" class="btn-default" special="cancel" />
|
|
31
|
+
</footer>
|
|
32
|
+
</form>
|
|
33
|
+
</field>
|
|
34
|
+
</record>
|
|
35
|
+
<record id="wizard_dms_file_move_act_window" model="ir.actions.act_window">
|
|
36
|
+
<field name="name">Move files</field>
|
|
37
|
+
<field name="res_model">wizard.dms.file.move</field>
|
|
38
|
+
<field name="view_mode">form</field>
|
|
39
|
+
<field name="target">new</field>
|
|
40
|
+
</record>
|
|
41
|
+
</odoo>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: odoo-addon-dms
|
|
3
|
-
Version: 15.0.1.
|
|
3
|
+
Version: 15.0.1.11.0.2
|
|
4
4
|
Summary: Document Management System for Odoo
|
|
5
5
|
Home-page: https://github.com/OCA/dms
|
|
6
6
|
Author: MuK IT, Tecnativa, Odoo Community Association (OCA)
|
|
@@ -25,7 +25,7 @@ Document Management System
|
|
|
25
25
|
!! This file is generated by oca-gen-addon-readme !!
|
|
26
26
|
!! changes will be overwritten. !!
|
|
27
27
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
28
|
-
!! source digest: sha256:
|
|
28
|
+
!! source digest: sha256:3f64958669a8297a42e8c3ce8ba3e9d09fa29c4f4849a84e6197ec2286d267eb
|
|
29
29
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
30
30
|
|
|
31
31
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
odoo/addons/dms/README.rst,sha256=
|
|
2
|
-
odoo/addons/dms/__init__.py,sha256=
|
|
3
|
-
odoo/addons/dms/__manifest__.py,sha256=
|
|
1
|
+
odoo/addons/dms/README.rst,sha256=AU8HhyzMY7atM5GxD1dCoKaBAdSvVMKaLY5NGf1xdf4,7464
|
|
2
|
+
odoo/addons/dms/__init__.py,sha256=dnUeA_K1torbiMNF3tt2dtECdk-FkWm01DByr9MBMIA,69
|
|
3
|
+
odoo/addons/dms/__manifest__.py,sha256=t-Bso-j8fYt7BwpGO4scINJza5oCwekrTu7ruY8Qd4Q,2181
|
|
4
4
|
odoo/addons/dms/actions/file.xml,sha256=NlRIQoCbbDSaRmsumJP9dcrNtYpQji74hwhfi5TillE,524
|
|
5
5
|
odoo/addons/dms/controllers/__init__.py,sha256=akfNDwFGryweTYowOA3DbbP0zvLmQtCdihtGhYvsIPQ,40
|
|
6
6
|
odoo/addons/dms/controllers/main.py,sha256=3HvKTk8OiFPiqkKN952Ozy-9NmtpLnaYsguL-VSmicY,1902
|
|
@@ -12,21 +12,21 @@ odoo/addons/dms/demo/file.xml,sha256=JaIGjObJXvz1Wvj3AwwTWMSYOxaHLxRS7KLcvBBCcg0
|
|
|
12
12
|
odoo/addons/dms/demo/res_users.xml,sha256=edRmAsHsaQYhHiJWdFni5BGM3-0Vskw3A1grXCHJhWc,323
|
|
13
13
|
odoo/addons/dms/demo/storage.xml,sha256=-FaGk-HRVGjqsrotq7rfsObWFF4E6FiIGjVWPYFrWiI,751
|
|
14
14
|
odoo/addons/dms/demo/tag.xml,sha256=QfLyWfBB2Cpa6mMWmuUfQJ-l3Ofj8QpFglVmTFgIsGs,2408
|
|
15
|
-
odoo/addons/dms/i18n/de.po,sha256=
|
|
16
|
-
odoo/addons/dms/i18n/dms.pot,sha256=
|
|
17
|
-
odoo/addons/dms/i18n/es.po,sha256=
|
|
18
|
-
odoo/addons/dms/i18n/fr.po,sha256=
|
|
19
|
-
odoo/addons/dms/i18n/he_IL.po,sha256=
|
|
20
|
-
odoo/addons/dms/i18n/it.po,sha256=
|
|
21
|
-
odoo/addons/dms/i18n/nl.po,sha256
|
|
22
|
-
odoo/addons/dms/i18n/ru.po,sha256=
|
|
15
|
+
odoo/addons/dms/i18n/de.po,sha256=vnQQuF-BBkfhFSKxD_H4cUFgNgxrTGzGQ8DZjqXP1lM,82334
|
|
16
|
+
odoo/addons/dms/i18n/dms.pot,sha256=i7uKir4QzqcUHtxvnrKqflXL4pcZgmN56iST1lAu5Z4,70037
|
|
17
|
+
odoo/addons/dms/i18n/es.po,sha256=GItf45GByMWkQ28rPdvGGWL4RoV-ZOk7hXSKAEBe0iI,82642
|
|
18
|
+
odoo/addons/dms/i18n/fr.po,sha256=Duk4rhSp7Zd4Dxc3w7C2mhDKJcWnna-D1KFXJqdBNcY,83338
|
|
19
|
+
odoo/addons/dms/i18n/he_IL.po,sha256=KDkwKLi05M1ypdIzj2yyBE0o818PVFH8sDfUMo_RmUE,80353
|
|
20
|
+
odoo/addons/dms/i18n/it.po,sha256=UJCcedL5wuCIdlHC9fpvDQm94eeCUjpFdSTWN7lmwvc,81522
|
|
21
|
+
odoo/addons/dms/i18n/nl.po,sha256=7i3hHYoaBIsfYw1tiPQ9FCNZsxhacKsbYgUsN_2RmlM,70203
|
|
22
|
+
odoo/addons/dms/i18n/ru.po,sha256=NVv2LaWp8w4T6bFHnkfeiUfRjDECvLkTy4l9Yvvyx1A,70033
|
|
23
23
|
odoo/addons/dms/models/__init__.py,sha256=La9Zyaj_PZKuwp73-PAlyFwgZlK8skeYxl5LovFjTm8,371
|
|
24
24
|
odoo/addons/dms/models/abstract_dms_mixin.py,sha256=1cKd4uJE9MCop4GYaHLwpDyvLaLLGLewGkpPTFgDcv0,2080
|
|
25
25
|
odoo/addons/dms/models/access_groups.py,sha256=nwIRYs48rG4Gc1M65aYcNtzUDljTa0KSCyUsHPxB8ig,5482
|
|
26
26
|
odoo/addons/dms/models/base.py,sha256=t7uhbkDE9L4UdvYJAwPTlX5ff2Y9S01urlFfC3KlLxM,893
|
|
27
27
|
odoo/addons/dms/models/category.py,sha256=goe3tZbwDXtlxrwGB0_sGMJW7RkJh3MtTBe4YvYokbI,4110
|
|
28
28
|
odoo/addons/dms/models/directory.py,sha256=h6t9W9WqrZQkRXU8ArLORwzix5gWmg8UWTZGHDC2rsA,28675
|
|
29
|
-
odoo/addons/dms/models/dms_file.py,sha256=
|
|
29
|
+
odoo/addons/dms/models/dms_file.py,sha256=vyIS-2P-iV7iHBkHeacNN9y6ap1289soT_0dwmKrSSk,24622
|
|
30
30
|
odoo/addons/dms/models/dms_security_mixin.py,sha256=GwanqRbJfFYgQhQwvp17f6V1AVzXktjGm_xDRpF6h0w,9703
|
|
31
31
|
odoo/addons/dms/models/ir_attachment.py,sha256=-AwkedqL2cgPZ794O31UIMvchrf_a9TPVE1rEb--CXQ,3248
|
|
32
32
|
odoo/addons/dms/models/mail_thread.py,sha256=ccAn2MHONCncjsJewBrLqMVBl6tmn2kezyJVJq2utVk,583
|
|
@@ -42,11 +42,11 @@ odoo/addons/dms/readme/DESCRIPTION.rst,sha256=rIH_rBFm_Rh-MuKsmoZh8w6o2HvlcGoxng
|
|
|
42
42
|
odoo/addons/dms/readme/INSTALL.rst,sha256=9u-nKvIKsa1wrSODP7Rfi41GCb2lAFwclwTIF6buQ7c,325
|
|
43
43
|
odoo/addons/dms/readme/ROADMAP.rst,sha256=ZgRZRUqrPaF5AhVxbuhgYjdHjPzGszPeA4t20yj0Eug,1085
|
|
44
44
|
odoo/addons/dms/readme/USAGE.rst,sha256=d8wVCTrFp7He_wfJlul-cp46ltGbTNRfo2z3fR652Po,522
|
|
45
|
-
odoo/addons/dms/security/ir.model.access.csv,sha256=
|
|
45
|
+
odoo/addons/dms/security/ir.model.access.csv,sha256=8PUm-1rSpz5mc5_BNIUdUKXb2sz6TrxIAcUYSVSmJ4o,1856
|
|
46
46
|
odoo/addons/dms/security/security.xml,sha256=plasjSwS2w5GK07BvW9obXNOpPgeBLKeEkUJ6Wpc6nA,9085
|
|
47
47
|
odoo/addons/dms/static/description/icon.png,sha256=8xwcyAfhzMOu_xBinu4KwZsvmqUj6X5aF2LUQvvwdc4,7197
|
|
48
48
|
odoo/addons/dms/static/description/icon.svg,sha256=cICSzGzl0Z00q7m0yhriujt2ip5_v4ymxAMTGzolxsc,8025
|
|
49
|
-
odoo/addons/dms/static/description/index.html,sha256=
|
|
49
|
+
odoo/addons/dms/static/description/index.html,sha256=jhEwHhXdyCT7DcSr8hfP6hB2Oo8BHUXRJ-Yapyrd24Q,19702
|
|
50
50
|
odoo/addons/dms/static/icons/file_ai.svg,sha256=HeCXVJivVnn6jjj__5WJiLfZv4mrmAamPFek0CwozCc,3343
|
|
51
51
|
odoo/addons/dms/static/icons/file_aj.svg,sha256=mUbfvaV5_m3zJ3zZKldBbaFz4AZNQNecSZ1W_JCZeE4,3063
|
|
52
52
|
odoo/addons/dms/static/icons/file_avi.svg,sha256=Pf78IrO6gGsg3aUVguOu6osDwLYz5ceIOLMbTRpya5s,1862
|
|
@@ -165,7 +165,7 @@ odoo/addons/dms/tests/__init__.py,sha256=eIbM1FQ81v8gWbUqsWhLnllFxuBeCnU7gw9Swb-
|
|
|
165
165
|
odoo/addons/dms/tests/common.py,sha256=ePajuPT7UGXkavmpC01lWOmFJLDoBbhcOGbzb1SO7Pg,11459
|
|
166
166
|
odoo/addons/dms/tests/test_benchmark.py,sha256=EqzyM1ZF2W8wkYTm69xGX8zPFIg8FpRJ2PfIGeDxqmQ,13583
|
|
167
167
|
odoo/addons/dms/tests/test_directory.py,sha256=9J9ndHBmwt4Yipe3kr5MNIkd4UKO1zKSLMhXElksOts,8200
|
|
168
|
-
odoo/addons/dms/tests/test_file.py,sha256=
|
|
168
|
+
odoo/addons/dms/tests/test_file.py,sha256=qkUg117DyFoaLcmDEce7MnHgWqIqBEavgnIP9wqmrQ8,4589
|
|
169
169
|
odoo/addons/dms/tests/test_file_database.py,sha256=SCJtaZEs6uAOUvXYVz0-AHx2iniNnhe1pepQzFHt5D4,4615
|
|
170
170
|
odoo/addons/dms/tests/test_portal.py,sha256=e0lOaB6UH3qWzLWEREVSwjEiy_iRZJ0JGVRrse-VTEY,3300
|
|
171
171
|
odoo/addons/dms/tests/test_storage_attachment.py,sha256=VsCkQ3SEKZz6mW9KnKjlbUg6zPve2f4U9MOV4J_gGa0,5151
|
|
@@ -182,13 +182,16 @@ odoo/addons/dms/tools/file.py,sha256=NYgdhsu1qdcLfMInmzhMs-PzDKmFm3wuo9kx610mSJs
|
|
|
182
182
|
odoo/addons/dms/views/category.xml,sha256=fjes6BqnZpcB8IJhZliZP4C7HqjJHlRVqRo4mvlEt38,4434
|
|
183
183
|
odoo/addons/dms/views/directory.xml,sha256=27qJNzjRSneFD5CrvpVwUel1gsPQeZsBdAG1VeLoX9U,34662
|
|
184
184
|
odoo/addons/dms/views/dms_access_groups_views.xml,sha256=vVeq7iGl7YfT1GKVGsulwOdPc6z3xS51hsRXfR2hR7w,5427
|
|
185
|
-
odoo/addons/dms/views/dms_file.xml,sha256=
|
|
185
|
+
odoo/addons/dms/views/dms_file.xml,sha256=7AYM9YXk4CTl01SwFqiPJVF6C5cVPov6BfvA8idMvKU,32083
|
|
186
186
|
odoo/addons/dms/views/dms_portal_templates.xml,sha256=piujeenSeFNfeQzME_wphQ16Heg2AFmWtBnLO_yv3Z0,5638
|
|
187
187
|
odoo/addons/dms/views/menu.xml,sha256=YJxLfNpa7HqM5rj09kXGUeernJp9sSTA_mDICKvIs9I,792
|
|
188
188
|
odoo/addons/dms/views/res_config_settings.xml,sha256=TMRNYnFW1U5Az5hqxIbkqIiaRaIzN7iGZO0M0TMu-Qk,5175
|
|
189
189
|
odoo/addons/dms/views/storage.xml,sha256=RCspiPEBUSNoR0NC3X9LD1BqmYWPIoq3poQMjcI62vg,10454
|
|
190
190
|
odoo/addons/dms/views/tag.xml,sha256=A1-WfRlN5TumsEdIEUwx7G2RpX7iHV37ztKxGABLvi0,7186
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
odoo_addon_dms-15.0.1.
|
|
191
|
+
odoo/addons/dms/wizards/__init__.py,sha256=YS7u9DusWKWEWtmm94cg2FWsPC2wUeDImRGBk7S3wx0,35
|
|
192
|
+
odoo/addons/dms/wizards/wizard_dms_file_move.py,sha256=zQouQDJuLWOrjzkksiUaTf0DFqT9SrewpxvByv5ozTM,844
|
|
193
|
+
odoo/addons/dms/wizards/wizard_dms_file_move_views.xml,sha256=bYWdX_QlMpIOS5gRk7iEyddHKLCvAkvzDxfT3oM1lCo,1931
|
|
194
|
+
odoo_addon_dms-15.0.1.11.0.2.dist-info/METADATA,sha256=-JRSXs95kf1p4cjhDAs8EsYUsNwW9S3krgZ6LSDF9Jg,8131
|
|
195
|
+
odoo_addon_dms-15.0.1.11.0.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
196
|
+
odoo_addon_dms-15.0.1.11.0.2.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
|
|
197
|
+
odoo_addon_dms-15.0.1.11.0.2.dist-info/RECORD,,
|
|
File without changes
|
{odoo_addon_dms-15.0.1.10.2.dist-info → odoo_addon_dms-15.0.1.11.0.2.dist-info}/top_level.txt
RENAMED
|
File without changes
|