odoo-addon-fs-attachment-s3 18.0.1.1.0.1__py3-none-any.whl → 18.0.1.2.0__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.

Potentially problematic release.


This version of odoo-addon-fs-attachment-s3 might be problematic. Click here for more details.

@@ -11,7 +11,7 @@ Fs Attachment S3
11
11
  !! This file is generated by oca-gen-addon-readme !!
12
12
  !! changes will be overwritten. !!
13
13
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14
- !! source digest: sha256:852406ff1d3d6c03d0b02cda7b0f0c83283b6ae8fecf485ec77615733d6ce8b2
14
+ !! source digest: sha256:bf3d6979d1fa1dfe833a4b2663355ad392483c090177a137920f33ebb47ff224
15
15
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16
16
 
17
17
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -120,6 +120,18 @@ the storage configuration. The X-Accel-Redirect path is constructed
120
120
  directly from the S3 storage's URL defined for the connection, the
121
121
  directory name as bucket name, and the file path.
122
122
 
123
+ Changelog
124
+ =========
125
+
126
+ 18.0.1.2.0 (2025-10-20)
127
+ -----------------------
128
+
129
+ Features
130
+ ~~~~~~~~
131
+
132
+ - Adapt to handle {db_name} in directory_path.
133
+ (`#db_name <https://github.com/OCA/storage/issues/db_name>`__)
134
+
123
135
  Bug Tracker
124
136
  ===========
125
137
 
@@ -4,7 +4,7 @@
4
4
  {
5
5
  "name": "Fs Attachment S3",
6
6
  "summary": """Store attachments into S3 complient filesystem""",
7
- "version": "18.0.1.1.0",
7
+ "version": "18.0.1.2.0",
8
8
  "license": "AGPL-3",
9
9
  "author": "ACSONE SA/NV,Odoo Community Association (OCA)",
10
10
  "website": "https://github.com/OCA/storage",
@@ -6,23 +6,25 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: Odoo Server 18.0\n"
8
8
  "Report-Msgid-Bugs-To: \n"
9
- "Last-Translator: Automatically generated\n"
9
+ "PO-Revision-Date: 2025-09-26 18:43+0000\n"
10
+ "Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
10
11
  "Language-Team: none\n"
11
12
  "Language: it\n"
12
13
  "MIME-Version: 1.0\n"
13
14
  "Content-Type: text/plain; charset=UTF-8\n"
14
15
  "Content-Transfer-Encoding: \n"
15
16
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
17
+ "X-Generator: Weblate 5.10.4\n"
16
18
 
17
19
  #. module: fs_attachment_s3
18
20
  #: model:ir.model,name:fs_attachment_s3.model_ir_attachment
19
21
  msgid "Attachment"
20
- msgstr ""
22
+ msgstr "Allegato"
21
23
 
22
24
  #. module: fs_attachment_s3
23
25
  #: model:ir.model,name:fs_attachment_s3.model_fs_storage
24
26
  msgid "FS Storage"
25
- msgstr ""
27
+ msgstr "Deposito FS"
26
28
 
27
29
  #. module: fs_attachment_s3
28
30
  #: model:ir.model.fields,help:fs_attachment_s3.field_fs_storage__s3_uses_signed_url_for_x_sendfile
@@ -31,19 +33,24 @@ msgid ""
31
33
  "X-Accel-Redirect. This is useful for S3 storage where the file path is not "
32
34
  "directly accessible without authentication."
33
35
  msgstr ""
36
+ "Se selezionata, l'archiviazione utilizzerà URL firmati per gli allegati "
37
+ "quando si utilizza X-Accel-Redirect. Questa opzione è utile per "
38
+ "l'archiviazione S3 in cui il percorso del file non è direttamente "
39
+ "accessibile senza autenticazione."
34
40
 
35
41
  #. module: fs_attachment_s3
36
42
  #: model:ir.model.fields,field_description:fs_attachment_s3.field_fs_storage__s3_signed_url_expiration
37
43
  msgid "Signed URL Expiration (seconds)"
38
- msgstr ""
44
+ msgstr "Scadenza URL firmato (secondi)"
39
45
 
40
46
  #. module: fs_attachment_s3
41
47
  #: model:ir.model.fields,help:fs_attachment_s3.field_fs_storage__s3_signed_url_expiration
42
48
  msgid ""
43
49
  "The expiration time for the signed URL in seconds. Default is 30 seconds."
44
50
  msgstr ""
51
+ "Il tempo di scadenza per l'URL firmato in secondi. Predefinito 30 secondi."
45
52
 
46
53
  #. module: fs_attachment_s3
47
54
  #: model:ir.model.fields,field_description:fs_attachment_s3.field_fs_storage__s3_uses_signed_url_for_x_sendfile
48
55
  msgid "Use signed URL for X-Accel-Redirect"
49
- msgstr ""
56
+ msgstr "Utilizza URL firmato per X-Accel-Redirect"
@@ -1,4 +1,5 @@
1
1
  # Copyright 2025 ACSONE SA/NV
2
+ # Copyright 2025 XCG SAS
2
3
  # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3
4
  from urllib.parse import urlparse
4
5
 
@@ -58,7 +59,7 @@ class IrAttachment(models.Model):
58
59
  storage = self.env["fs.storage"].sudo().get_by_code(storage_code)
59
60
  root_fs = storage._get_root_filesystem(fs)
60
61
  s3_client = root_fs.s3
61
- bucket_name = storage.directory_path.strip("/").rstrip("/")
62
+ bucket_name = storage.get_directory_path().strip("/").rstrip("/")
62
63
  if storage.s3_uses_signed_url_for_x_sendfile:
63
64
  file_url = storage._s3_call_generate_presigned_url(
64
65
  s3_client,
@@ -0,0 +1,5 @@
1
+ ## 18.0.1.2.0 (2025-10-20)
2
+
3
+ ### Features
4
+
5
+ - Adapt to handle {db_name} in directory_path. ([#db_name](https://github.com/OCA/storage/issues/db_name))
@@ -372,7 +372,7 @@ ul.auto-toc {
372
372
  !! This file is generated by oca-gen-addon-readme !!
373
373
  !! changes will be overwritten. !!
374
374
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375
- !! source digest: sha256:852406ff1d3d6c03d0b02cda7b0f0c83283b6ae8fecf485ec77615733d6ce8b2
375
+ !! source digest: sha256:bf3d6979d1fa1dfe833a4b2663355ad392483c090177a137920f33ebb47ff224
376
376
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377
377
  <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/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/storage/tree/18.0/fs_attachment_s3"><img alt="OCA/storage" src="https://img.shields.io/badge/github-OCA%2Fstorage-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/storage-18-0/storage-18-0-fs_attachment_s3"><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/storage&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
378
378
  <p>This module extends the functionality of
@@ -389,12 +389,19 @@ X-Accel-Redirect without exposing the files publicly.)</li>
389
389
  <div class="contents local topic" id="contents">
390
390
  <ul class="simple">
391
391
  <li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a></li>
392
- <li><a class="reference internal" href="#bug-tracker" id="toc-entry-2">Bug Tracker</a></li>
393
- <li><a class="reference internal" href="#credits" id="toc-entry-3">Credits</a><ul>
394
- <li><a class="reference internal" href="#authors" id="toc-entry-4">Authors</a></li>
395
- <li><a class="reference internal" href="#contributors" id="toc-entry-5">Contributors</a></li>
396
- <li><a class="reference internal" href="#other-credits" id="toc-entry-6">Other credits</a></li>
397
- <li><a class="reference internal" href="#maintainers" id="toc-entry-7">Maintainers</a></li>
392
+ <li><a class="reference internal" href="#changelog" id="toc-entry-2">Changelog</a><ul>
393
+ <li><a class="reference internal" href="#section-1" id="toc-entry-3">18.0.1.2.0 (2025-10-20)</a><ul>
394
+ <li><a class="reference internal" href="#features" id="toc-entry-4">Features</a></li>
395
+ </ul>
396
+ </li>
397
+ </ul>
398
+ </li>
399
+ <li><a class="reference internal" href="#bug-tracker" id="toc-entry-5">Bug Tracker</a></li>
400
+ <li><a class="reference internal" href="#credits" id="toc-entry-6">Credits</a><ul>
401
+ <li><a class="reference internal" href="#authors" id="toc-entry-7">Authors</a></li>
402
+ <li><a class="reference internal" href="#contributors" id="toc-entry-8">Contributors</a></li>
403
+ <li><a class="reference internal" href="#other-credits" id="toc-entry-9">Other credits</a></li>
404
+ <li><a class="reference internal" href="#maintainers" id="toc-entry-10">Maintainers</a></li>
398
405
  </ul>
399
406
  </li>
400
407
  </ul>
@@ -464,8 +471,21 @@ the storage configuration. The X-Accel-Redirect path is constructed
464
471
  directly from the S3 storage’s URL defined for the connection, the
465
472
  directory name as bucket name, and the file path.</p>
466
473
  </div>
474
+ <div class="section" id="changelog">
475
+ <h2><a class="toc-backref" href="#toc-entry-2">Changelog</a></h2>
476
+ <div class="section" id="section-1">
477
+ <h3><a class="toc-backref" href="#toc-entry-3">18.0.1.2.0 (2025-10-20)</a></h3>
478
+ <div class="section" id="features">
479
+ <h4><a class="toc-backref" href="#toc-entry-4">Features</a></h4>
480
+ <ul class="simple">
481
+ <li>Adapt to handle {db_name} in directory_path.
482
+ (<a class="reference external" href="https://github.com/OCA/storage/issues/db_name">#db_name</a>)</li>
483
+ </ul>
484
+ </div>
485
+ </div>
486
+ </div>
467
487
  <div class="section" id="bug-tracker">
468
- <h2><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h2>
488
+ <h2><a class="toc-backref" href="#toc-entry-5">Bug Tracker</a></h2>
469
489
  <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/storage/issues">GitHub Issues</a>.
470
490
  In case of trouble, please check there if your issue has already been reported.
471
491
  If you spotted it first, help us to smash it by providing a detailed and welcomed
@@ -473,22 +493,22 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
473
493
  <p>Do not contact contributors directly about support or help with technical issues.</p>
474
494
  </div>
475
495
  <div class="section" id="credits">
476
- <h2><a class="toc-backref" href="#toc-entry-3">Credits</a></h2>
496
+ <h2><a class="toc-backref" href="#toc-entry-6">Credits</a></h2>
477
497
  <div class="section" id="authors">
478
- <h3><a class="toc-backref" href="#toc-entry-4">Authors</a></h3>
498
+ <h3><a class="toc-backref" href="#toc-entry-7">Authors</a></h3>
479
499
  <ul class="simple">
480
500
  <li>ACSONE SA/NV</li>
481
501
  </ul>
482
502
  </div>
483
503
  <div class="section" id="contributors">
484
- <h3><a class="toc-backref" href="#toc-entry-5">Contributors</a></h3>
504
+ <h3><a class="toc-backref" href="#toc-entry-8">Contributors</a></h3>
485
505
  <ul class="simple">
486
506
  <li>Laurent Mignon <a class="reference external" href="mailto:laurent.mignon&#64;acsone.eu">laurent.mignon&#64;acsone.eu</a> (<a class="reference external" href="https://www.acsone.eu">https://www.acsone.eu</a>)</li>
487
507
  <li>Stéphane Bidoul <a class="reference external" href="mailto:stephane.bidoul&#64;acsone.eu">stephane.bidoul&#64;acsone.eu</a> (<a class="reference external" href="https://www.acsone.eu">https://www.acsone.eu</a>)</li>
488
508
  </ul>
489
509
  </div>
490
510
  <div class="section" id="other-credits">
491
- <h3><a class="toc-backref" href="#toc-entry-6">Other credits</a></h3>
511
+ <h3><a class="toc-backref" href="#toc-entry-9">Other credits</a></h3>
492
512
  <p>The development of this module has been financially supported by:</p>
493
513
  <ul class="simple">
494
514
  <li>ACSONE SA/NV (<a class="reference external" href="https://www.acsone.eu">https://www.acsone.eu</a>)</li>
@@ -496,7 +516,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
496
516
  </ul>
497
517
  </div>
498
518
  <div class="section" id="maintainers">
499
- <h3><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h3>
519
+ <h3><a class="toc-backref" href="#toc-entry-10">Maintainers</a></h3>
500
520
  <p>This module is maintained by the OCA.</p>
501
521
  <a class="reference external image-reference" href="https://odoo-community.org">
502
522
  <img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-fs_attachment_s3
3
- Version: 18.0.1.1.0.1
3
+ Version: 18.0.1.2.0
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: fsspec[s3]
6
6
  Requires-Dist: odoo-addon-fs_attachment==18.0.*
@@ -29,7 +29,7 @@ Fs Attachment S3
29
29
  !! This file is generated by oca-gen-addon-readme !!
30
30
  !! changes will be overwritten. !!
31
31
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
32
- !! source digest: sha256:852406ff1d3d6c03d0b02cda7b0f0c83283b6ae8fecf485ec77615733d6ce8b2
32
+ !! source digest: sha256:bf3d6979d1fa1dfe833a4b2663355ad392483c090177a137920f33ebb47ff224
33
33
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
34
34
 
35
35
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -138,6 +138,18 @@ the storage configuration. The X-Accel-Redirect path is constructed
138
138
  directly from the S3 storage's URL defined for the connection, the
139
139
  directory name as bucket name, and the file path.
140
140
 
141
+ Changelog
142
+ =========
143
+
144
+ 18.0.1.2.0 (2025-10-20)
145
+ -----------------------
146
+
147
+ Features
148
+ ~~~~~~~~
149
+
150
+ - Adapt to handle {db_name} in directory_path.
151
+ (`#db_name <https://github.com/OCA/storage/issues/db_name>`__)
152
+
141
153
  Bug Tracker
142
154
  ===========
143
155
 
@@ -1,22 +1,23 @@
1
- odoo/addons/fs_attachment_s3/README.rst,sha256=8_H54glXTwju7K-05H4M6_BNBRti1fHbIQf-ly4OHMk,6479
1
+ odoo/addons/fs_attachment_s3/README.rst,sha256=0QPWeos5no_vdQZH7jq2gBFmuYcAMrlBVV96ipq97O8,6681
2
2
  odoo/addons/fs_attachment_s3/__init__.py,sha256=X9EJGOE2GtZbS0G82PtSXmWSZ_R8jEM0rlJTDliQjp4,21
3
- odoo/addons/fs_attachment_s3/__manifest__.py,sha256=QM4ciV4GtqOt1cR7Be1_xAuHB2pt4Q3aNNlAHL_eiGQ,581
3
+ odoo/addons/fs_attachment_s3/__manifest__.py,sha256=PoFyLtsPcrX1AR2WAnSHfKC8lQ2M8srZk0E0quJK7Y4,581
4
4
  odoo/addons/fs_attachment_s3/i18n/fs_attachment_s3.pot,sha256=yczmbSOfw-gP5vz9C2gRovZF5dkMz0rf3ffIdR9u7_Q,1533
5
- odoo/addons/fs_attachment_s3/i18n/it.po,sha256=zLom7hun9qrReDBmid5hc8RW2d10QJ_ue7kftlS7FuI,1603
5
+ odoo/addons/fs_attachment_s3/i18n/it.po,sha256=8JDLlXVUxViQ8DmKpCEAMi_6mbzYqOvczWK_huDbOEQ,2109
6
6
  odoo/addons/fs_attachment_s3/models/__init__.py,sha256=OfsH8Tt9nIIDh-KNTuBXialP2Iye4PVsw-A4U6VDjbY,53
7
7
  odoo/addons/fs_attachment_s3/models/fs_storage.py,sha256=dg3Fd4NvdROMXEd2QC-xorbV9QM343CudV32rOAASqw,1787
8
- odoo/addons/fs_attachment_s3/models/ir_attachment.py,sha256=DS-yyqUNMRyzxVh93qDS8kLilGR1OqRtClyGs3HWE8I,3067
8
+ odoo/addons/fs_attachment_s3/models/ir_attachment.py,sha256=O9wfBeaZwon8qLxQdrrCFR9OBl1Erexr_0UDxDxEGPw,3098
9
9
  odoo/addons/fs_attachment_s3/readme/CONFIGURE.md,sha256=pls7cefEsr7Yba8cVfWmkmFrItekwLE6V96xOzeGHkc,2561
10
10
  odoo/addons/fs_attachment_s3/readme/CONTRIBUTORS.md,sha256=fQuQzGS-9tjXz4TtzBPthvIRrbIkYAm5fbg2-GjV564,139
11
11
  odoo/addons/fs_attachment_s3/readme/CREDITS.md,sha256=dujpMmbuCxwnGltLAYjv5u6WQdx37lgYBZeFeDgrfnM,120
12
12
  odoo/addons/fs_attachment_s3/readme/DESCRIPTION.md,sha256=kwIIKDmup9ylYA61ZylWdQkyYFlyyouamz3Ljy1G-cQ,480
13
+ odoo/addons/fs_attachment_s3/readme/HISTORY.md,sha256=GH_E5S_RsrQhrMkCZzqwHQau_NBrHsKyZZQXqNws5j8,149
13
14
  odoo/addons/fs_attachment_s3/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
14
- odoo/addons/fs_attachment_s3/static/description/index.html,sha256=jGJbwTR3euxDv1d9TT1chx2xYcteX3kvVBxHSz8bhG4,18327
15
+ odoo/addons/fs_attachment_s3/static/description/index.html,sha256=qCS_qdi-cQuciNZyyeFeItorPJXoCEosLOWbGVPqY48,19147
15
16
  odoo/addons/fs_attachment_s3/tests/__init__.py,sha256=fymN9brOYmhFYo0dk9PioEoyET4n-uxIjC4RoBVSnEY,36
16
17
  odoo/addons/fs_attachment_s3/tests/common.py,sha256=5vEQ9L1GDpUZ4olWKTUm-jjfhRJWEX6LLTMLniEhQAg,2375
17
18
  odoo/addons/fs_attachment_s3/tests/test_fs_attachment_s3.py,sha256=SjQplCdv383BoNLWEPBm6sl_raDXGSQOCM9Yfvso8_c,1268
18
19
  odoo/addons/fs_attachment_s3/views/fs_storage.xml,sha256=IUek3ZjHKC0bqnE8-61gF7QxmLuhhlZ-Lfwifl4kfZc,897
19
- odoo_addon_fs_attachment_s3-18.0.1.1.0.1.dist-info/METADATA,sha256=AGYDLOfygUgnk4fSxtPtiNEJ_r7L90yvP7Q-VECn9HE,7117
20
- odoo_addon_fs_attachment_s3-18.0.1.1.0.1.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
21
- odoo_addon_fs_attachment_s3-18.0.1.1.0.1.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
22
- odoo_addon_fs_attachment_s3-18.0.1.1.0.1.dist-info/RECORD,,
20
+ odoo_addon_fs_attachment_s3-18.0.1.2.0.dist-info/METADATA,sha256=P-c2W_aw50yRqtFc5SEtmaEFdEWXvm9e95XaSf9zYBg,7317
21
+ odoo_addon_fs_attachment_s3-18.0.1.2.0.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
22
+ odoo_addon_fs_attachment_s3-18.0.1.2.0.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
23
+ odoo_addon_fs_attachment_s3-18.0.1.2.0.dist-info/RECORD,,