odoo-addon-dms 16.0.1.8.4__py3-none-any.whl → 16.0.1.8.5__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.
@@ -7,7 +7,7 @@ Document Management System
7
7
  !! This file is generated by oca-gen-addon-readme !!
8
8
  !! changes will be overwritten. !!
9
9
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:aae4e9b99ec93a2066080378ad705b807cc4235b8fa0aaf35baf4dea02a62bbd
10
+ !! source digest: sha256:a679dc80b0bc5020e1bcc24d4777a8b73a2223c966ba9505f304988e56349b6f
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -4,7 +4,7 @@
4
4
  {
5
5
  "name": "Document Management System",
6
6
  "summary": """Document Management System for Odoo""",
7
- "version": "16.0.1.8.4",
7
+ "version": "16.0.1.8.5",
8
8
  "category": "Document Management",
9
9
  "license": "LGPL-3",
10
10
  "website": "https://github.com/OCA/dms",
@@ -367,7 +367,7 @@ ul.auto-toc {
367
367
  !! This file is generated by oca-gen-addon-readme !!
368
368
  !! changes will be overwritten. !!
369
369
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370
- !! source digest: sha256:aae4e9b99ec93a2066080378ad705b807cc4235b8fa0aaf35baf4dea02a62bbd
370
+ !! source digest: sha256:a679dc80b0bc5020e1bcc24d4777a8b73a2223c966ba9505f304988e56349b6f
371
371
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372
372
  <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/16.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-16-0/dms-16-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&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373
373
  <p>DMS is a module for creating, managing and viewing document files directly
@@ -102,16 +102,18 @@ export const FileUpload = {
102
102
  async onUpload(attachments) {
103
103
  const self = this;
104
104
  const attachmentIds = attachments.map((a) => a.id);
105
- const ctx = this.props.context;
105
+ const ctx = Object.assign(
106
+ {},
107
+ this.actionService.currentController.props.context,
108
+ this.props.context
109
+ );
106
110
  const controllerID = this.actionService.currentController.jsId;
107
111
 
108
112
  if (!attachmentIds.length) {
109
113
  this.notification.add(_t("An error occurred during the upload"));
110
114
  return;
111
115
  }
112
-
113
116
  // Search the correct directory_id value according to the domain
114
- ctx.default_directory_id = false;
115
117
  if (this.props.domain) {
116
118
  for (const domain_item of this.props.domain) {
117
119
  if (domain_item.length === 3) {
@@ -122,7 +124,7 @@ export const FileUpload = {
122
124
  }
123
125
  }
124
126
 
125
- if (ctx.default_directory_id === false) {
127
+ if (!ctx.default_directory_id) {
126
128
  self.actionService.restore(controllerID);
127
129
  return self.notification.add(
128
130
  this.env._t("You must select a directory first"),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-dms
3
- Version: 16.0.1.8.4
3
+ Version: 16.0.1.8.5
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)
@@ -22,7 +22,7 @@ Document Management System
22
22
  !! This file is generated by oca-gen-addon-readme !!
23
23
  !! changes will be overwritten. !!
24
24
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
25
- !! source digest: sha256:aae4e9b99ec93a2066080378ad705b807cc4235b8fa0aaf35baf4dea02a62bbd
25
+ !! source digest: sha256:a679dc80b0bc5020e1bcc24d4777a8b73a2223c966ba9505f304988e56349b6f
26
26
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
27
27
 
28
28
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -1,6 +1,6 @@
1
- odoo/addons/dms/README.rst,sha256=KbBx0bt2Bj4iDaGRt2Ll81VsdSiR-WJJuLgWxsLKWzg,7893
1
+ odoo/addons/dms/README.rst,sha256=XDvnBEY9qxxRkZV6YHUuP7j_9pXlKn5VV3u5-U49xVI,7893
2
2
  odoo/addons/dms/__init__.py,sha256=dnUeA_K1torbiMNF3tt2dtECdk-FkWm01DByr9MBMIA,69
3
- odoo/addons/dms/__manifest__.py,sha256=KI4hxcsY7rQLWR5J8e1Ir--ljfNWwPjQjvcfV9iVGZk,1863
3
+ odoo/addons/dms/__manifest__.py,sha256=BxPmRh4FG4XMvDD8aTZRZXdbdfja0KbtWF0rS2fx-Yg,1863
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=9TjOKDeNerPNN4CKL0TWQiqOpNug8pqG6F5uBJO3bkM,1960
@@ -51,7 +51,7 @@ odoo/addons/dms/security/ir.model.access.csv,sha256=_SuEwHD3SOXbpLalbr5FqGjPvwtD
51
51
  odoo/addons/dms/security/security.xml,sha256=plasjSwS2w5GK07BvW9obXNOpPgeBLKeEkUJ6Wpc6nA,9085
52
52
  odoo/addons/dms/static/description/icon.png,sha256=8xwcyAfhzMOu_xBinu4KwZsvmqUj6X5aF2LUQvvwdc4,7197
53
53
  odoo/addons/dms/static/description/icon.svg,sha256=cICSzGzl0Z00q7m0yhriujt2ip5_v4ymxAMTGzolxsc,8025
54
- odoo/addons/dms/static/description/index.html,sha256=9CPnE38TkpwnxsgdaPze1dKmTcYFa_gKE2ZAdVanNjs,20593
54
+ odoo/addons/dms/static/description/index.html,sha256=kkqgIjByd6zWReP3fQr5j0YVs-ZZ6LnBAUq_dgnl7p4,20593
55
55
  odoo/addons/dms/static/icons/file_ai.svg,sha256=HeCXVJivVnn6jjj__5WJiLfZv4mrmAamPFek0CwozCc,3343
56
56
  odoo/addons/dms/static/icons/file_aj.svg,sha256=mUbfvaV5_m3zJ3zZKldBbaFz4AZNQNecSZ1W_JCZeE4,3063
57
57
  odoo/addons/dms/static/icons/file_avi.svg,sha256=Pf78IrO6gGsg3aUVguOu6osDwLYz5ceIOLMbTRpya5s,1862
@@ -119,7 +119,7 @@ odoo/addons/dms/static/src/js/components/path/path.esm.js,sha256=47DEQpj8HBSa-_T
119
119
  odoo/addons/dms/static/src/js/fields/path.js,sha256=YZohwYuwaMjII2KBKwjdAutujsTKbBmwdYQlcOUfKtw,3275
120
120
  odoo/addons/dms/static/src/js/fields/path_owl.esm.js,sha256=c_MKVLkX5-_IPzSh-0x-xrI-6QKrn45KyLYdleNsRPQ,1001
121
121
  odoo/addons/dms/static/src/js/fields/path_owl.xml,sha256=qvLsXEr9hG10dN15fbgTjbs_Fptdx9eni_ZqwRUsyWU,944
122
- odoo/addons/dms/static/src/js/views/dms_file_upload.esm.js,sha256=RC4euAV9DEu21AREGsV3jkL3iq8HkQ9S7UC-sQ_TWGA,4870
122
+ odoo/addons/dms/static/src/js/views/dms_file_upload.esm.js,sha256=zDRA-WzMj9e_V8IxTI1OBUH-0mU0Gxf0KpybMD7SdRA,4935
123
123
  odoo/addons/dms/static/src/js/views/file_kanban_controller.esm.js,sha256=sWB9Al_qt74lk8WKht5d2WJnKda7kqkg6-iIQQtyk6Y,517
124
124
  odoo/addons/dms/static/src/js/views/file_kanban_controller.xml,sha256=WZ2yhLRlIJGSJrwZajb_7ktCSglA5DMATLe5yhZdsr0,778
125
125
  odoo/addons/dms/static/src/js/views/file_kanban_record.esm.js,sha256=RCWo1IBSxsv99rznib-I_UuYc9QNk1a6IxZpY-8VwuE,2086
@@ -211,7 +211,7 @@ odoo/addons/dms/wizards/wizard_dms_file_move.py,sha256=zQouQDJuLWOrjzkksiUaTf0DF
211
211
  odoo/addons/dms/wizards/wizard_dms_file_move_views.xml,sha256=bYWdX_QlMpIOS5gRk7iEyddHKLCvAkvzDxfT3oM1lCo,1931
212
212
  odoo/addons/dms/wizards/wizard_dms_share.py,sha256=s7n6nQy0I6qVsvQ7Z57lfY28wi8tbd9062Bdw-BSoWg,558
213
213
  odoo/addons/dms/wizards/wizard_dms_share_views.xml,sha256=63BhWyowqJ2Yf3RdOdjT6WvC13jXxTKzsJEZXmaHv-A,1230
214
- odoo_addon_dms-16.0.1.8.4.dist-info/METADATA,sha256=oiTwY0TRSZ9wxW_rHD6RsbiJNKmABvqr0AC5YM4LGds,8413
215
- odoo_addon_dms-16.0.1.8.4.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
216
- odoo_addon_dms-16.0.1.8.4.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
217
- odoo_addon_dms-16.0.1.8.4.dist-info/RECORD,,
214
+ odoo_addon_dms-16.0.1.8.5.dist-info/METADATA,sha256=e-Gglb4wOXDHZx_zOpP1fylQt7y8z2IoLGFtldvXLPM,8413
215
+ odoo_addon_dms-16.0.1.8.5.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
216
+ odoo_addon_dms-16.0.1.8.5.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
217
+ odoo_addon_dms-16.0.1.8.5.dist-info/RECORD,,