odoo-addon-dms 16.0.1.7.1__py3-none-any.whl → 16.0.1.7.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.
@@ -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:f8a06f30f321d8b2e80b2d7b14f35bad4b9bfcd5a1a2c3e17863559be1556528
10
+ !! source digest: sha256:7f593b044169aee75415e321b4337bf31c19ead61d40b6e2560efc3416b58330
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.7.1",
7
+ "version": "16.0.1.7.2",
8
8
  "category": "Document Management",
9
9
  "license": "LGPL-3",
10
10
  "website": "https://github.com/OCA/dms",
@@ -230,18 +230,9 @@ msgstr ""
230
230
  msgid "A file must have model and resource ID in attachment storage."
231
231
  msgstr ""
232
232
 
233
- #. module: dms
234
- #. odoo-javascript
235
- #: code:addons/dms/static/src/js/views/dms_file_upload.esm.js:0
236
- #, python-format
237
- msgid "A file with the same name already exists"
238
- msgstr ""
239
-
240
233
  #. module: dms
241
234
  #. odoo-python
242
- #. odoo-javascript
243
235
  #: code:addons/dms/models/dms_file.py:0
244
- #: code:addons/dms/static/src/js/views/dms_file_upload.esm.js:0
245
236
  #, python-format
246
237
  msgid "A file with the same name already exists."
247
238
  msgstr ""
@@ -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:f8a06f30f321d8b2e80b2d7b14f35bad4b9bfcd5a1a2c3e17863559be1556528
369
+ !! source digest: sha256:7f593b044169aee75415e321b4337bf31c19ead61d40b6e2560efc3416b58330
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/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>
372
372
  <p>DMS is a module for creating, managing and viewing document files directly
@@ -1,7 +1,6 @@
1
1
  /** @odoo-module */
2
2
 
3
3
  import {useBus, useService} from "@web/core/utils/hooks";
4
- import rpc from "web.rpc";
5
4
  import {_t} from "web.core";
6
5
 
7
6
  const {useRef, useEffect, useState} = owl;
@@ -149,26 +148,17 @@ export const FileUpload = {
149
148
  });
150
149
  });
151
150
 
152
- rpc.query({
153
- model: "dms.file",
154
- method: "create",
155
- args: [attachments_args],
156
- kwargs: {
151
+ this.orm
152
+ .call("dms.file", "create", [attachments_args], {
157
153
  context: ctx,
158
- },
159
- })
154
+ })
160
155
  .then(() => {
161
156
  self.actionService.restore(controllerID);
162
157
  })
163
158
  .catch((error) => {
164
- console.log("##error##: ", error);
165
- window.alert(this.env._t("A file with the same name already exists."));
166
- self.notification.add(
167
- this.env._t("A file with the same name already exists"),
168
- {
169
- type: "danger",
170
- }
171
- );
159
+ self.notification.add(error.data.message, {
160
+ type: "danger",
161
+ });
172
162
  self.actionService.restore(controllerID);
173
163
  });
174
164
  },
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-dms
3
- Version: 16.0.1.7.1
3
+ Version: 16.0.1.7.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)
@@ -23,7 +23,7 @@ Document Management System
23
23
  !! This file is generated by oca-gen-addon-readme !!
24
24
  !! changes will be overwritten. !!
25
25
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
26
- !! source digest: sha256:f8a06f30f321d8b2e80b2d7b14f35bad4b9bfcd5a1a2c3e17863559be1556528
26
+ !! source digest: sha256:7f593b044169aee75415e321b4337bf31c19ead61d40b6e2560efc3416b58330
27
27
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
28
28
 
29
29
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -1,6 +1,6 @@
1
- odoo/addons/dms/README.rst,sha256=PJ112NyMge2YATpe80K0n9v2aKScQX6EPSJTvCNauIs,7748
1
+ odoo/addons/dms/README.rst,sha256=xkVUciPZgLabveB8QhiyxYUS1r-7wcNWmfIWx1xsWb4,7748
2
2
  odoo/addons/dms/__init__.py,sha256=dnUeA_K1torbiMNF3tt2dtECdk-FkWm01DByr9MBMIA,69
3
- odoo/addons/dms/__manifest__.py,sha256=oaOzyX-IXIGl5NhMviDFV3zx_DK6XDv0SH3sa2BGmdQ,1817
3
+ odoo/addons/dms/__manifest__.py,sha256=f-imI8dXtV9-R2POYkZb69Mx0TzejV6mf2RULX2r2OY,1817
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
@@ -13,7 +13,7 @@ odoo/addons/dms/demo/res_users.xml,sha256=edRmAsHsaQYhHiJWdFni5BGM3-0Vskw3A1grXC
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
15
  odoo/addons/dms/i18n/de.po,sha256=sbI_-K0-jyO94dQaoxfW4WyH5Z73TpwFu7cz-5tqmuE,83074
16
- odoo/addons/dms/i18n/dms.pot,sha256=nfxHfpbBxHML0Rz4A6ZuaM96oy65QiHRjvQtXxA6Gco,71235
16
+ odoo/addons/dms/i18n/dms.pot,sha256=MJXwFD05vgWIm7y-vKE5Rl1RWAxpl93Ym1-E0qk7MeU,70977
17
17
  odoo/addons/dms/i18n/es.po,sha256=lWx4ZK6RH6ZW7Zd7VAsYtIxCVHXJtPWr9SVn6HZTono,83848
18
18
  odoo/addons/dms/i18n/fr.po,sha256=0197TZf3ZJXbJ--Ullyzwjlp6hPQdA0zDHyzZEiFtgg,84739
19
19
  odoo/addons/dms/i18n/he_IL.po,sha256=tyj6PLWWjS2Wl8jeEeovsOj5K83samQ24aKtXi5Rq8k,81754
@@ -48,7 +48,7 @@ odoo/addons/dms/security/ir.model.access.csv,sha256=8PUm-1rSpz5mc5_BNIUdUKXb2sz6
48
48
  odoo/addons/dms/security/security.xml,sha256=plasjSwS2w5GK07BvW9obXNOpPgeBLKeEkUJ6Wpc6nA,9085
49
49
  odoo/addons/dms/static/description/icon.png,sha256=8xwcyAfhzMOu_xBinu4KwZsvmqUj6X5aF2LUQvvwdc4,7197
50
50
  odoo/addons/dms/static/description/icon.svg,sha256=cICSzGzl0Z00q7m0yhriujt2ip5_v4ymxAMTGzolxsc,8025
51
- odoo/addons/dms/static/description/index.html,sha256=vnsMFveRQ6KWv_wfKMoc1VoPn9Qa-DHiAY92UXttcAc,20358
51
+ odoo/addons/dms/static/description/index.html,sha256=CPoIHTbXz68CrlsSGHHctOSYZYPJhWmEBvp4uaI-Sgs,20358
52
52
  odoo/addons/dms/static/icons/file_ai.svg,sha256=HeCXVJivVnn6jjj__5WJiLfZv4mrmAamPFek0CwozCc,3343
53
53
  odoo/addons/dms/static/icons/file_aj.svg,sha256=mUbfvaV5_m3zJ3zZKldBbaFz4AZNQNecSZ1W_JCZeE4,3063
54
54
  odoo/addons/dms/static/icons/file_avi.svg,sha256=Pf78IrO6gGsg3aUVguOu6osDwLYz5ceIOLMbTRpya5s,1862
@@ -116,7 +116,7 @@ odoo/addons/dms/static/src/js/components/path/path.esm.js,sha256=47DEQpj8HBSa-_T
116
116
  odoo/addons/dms/static/src/js/fields/path.js,sha256=YZohwYuwaMjII2KBKwjdAutujsTKbBmwdYQlcOUfKtw,3275
117
117
  odoo/addons/dms/static/src/js/fields/path_owl.esm.js,sha256=c_MKVLkX5-_IPzSh-0x-xrI-6QKrn45KyLYdleNsRPQ,1001
118
118
  odoo/addons/dms/static/src/js/fields/path_owl.xml,sha256=qvLsXEr9hG10dN15fbgTjbs_Fptdx9eni_ZqwRUsyWU,944
119
- odoo/addons/dms/static/src/js/views/dms_file_upload.esm.js,sha256=ep18SgENElwA6zauL2un_zT083UPU0XTspG6M-vEFF4,5212
119
+ odoo/addons/dms/static/src/js/views/dms_file_upload.esm.js,sha256=RC4euAV9DEu21AREGsV3jkL3iq8HkQ9S7UC-sQ_TWGA,4870
120
120
  odoo/addons/dms/static/src/js/views/file_kanban_controller.esm.js,sha256=sWB9Al_qt74lk8WKht5d2WJnKda7kqkg6-iIQQtyk6Y,517
121
121
  odoo/addons/dms/static/src/js/views/file_kanban_controller.xml,sha256=WZ2yhLRlIJGSJrwZajb_7ktCSglA5DMATLe5yhZdsr0,778
122
122
  odoo/addons/dms/static/src/js/views/file_kanban_record.esm.js,sha256=RCWo1IBSxsv99rznib-I_UuYc9QNk1a6IxZpY-8VwuE,2086
@@ -206,7 +206,7 @@ odoo/addons/dms/views/tag.xml,sha256=A1-WfRlN5TumsEdIEUwx7G2RpX7iHV37ztKxGABLvi0
206
206
  odoo/addons/dms/wizards/__init__.py,sha256=YS7u9DusWKWEWtmm94cg2FWsPC2wUeDImRGBk7S3wx0,35
207
207
  odoo/addons/dms/wizards/wizard_dms_file_move.py,sha256=zQouQDJuLWOrjzkksiUaTf0DFqT9SrewpxvByv5ozTM,844
208
208
  odoo/addons/dms/wizards/wizard_dms_file_move_views.xml,sha256=bYWdX_QlMpIOS5gRk7iEyddHKLCvAkvzDxfT3oM1lCo,1931
209
- odoo_addon_dms-16.0.1.7.1.dist-info/METADATA,sha256=lbD1QQc360XJMkh7h9jmONA_w06oegOKdJ-AHIp4jEI,8289
210
- odoo_addon_dms-16.0.1.7.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
211
- odoo_addon_dms-16.0.1.7.1.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
212
- odoo_addon_dms-16.0.1.7.1.dist-info/RECORD,,
209
+ odoo_addon_dms-16.0.1.7.2.dist-info/METADATA,sha256=r0UYBYzhaOJPAcvvym4PcG2AUK49qrkTgw2JuyUjIaw,8289
210
+ odoo_addon_dms-16.0.1.7.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
211
+ odoo_addon_dms-16.0.1.7.2.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
212
+ odoo_addon_dms-16.0.1.7.2.dist-info/RECORD,,