Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ exclude: |
# NOT INSTALLABLE ADDONS
^fs_attachment/|
^fs_attachment_environment/|
^fs_attachment_s3/|
^fs_attachment_s3_environment/|
^fs_file/|
^fs_folder/|
Expand Down
10 changes: 5 additions & 5 deletions fs_attachment_s3/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ Fs Attachment S3
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstorage-lightgray.png?logo=github
:target: https://github.com/OCA/storage/tree/19.0/fs_attachment_s3
:target: https://github.com/OCA/storage/tree/20.0/fs_attachment_s3
:alt: OCA/storage
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/storage-19-0/storage-19-0-fs_attachment_s3
:target: https://translation.odoo-community.org/projects/storage-20-0/storage-20-0-fs_attachment_s3
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/storage&target_branch=19.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/storage&target_branch=20.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|
Expand Down Expand Up @@ -147,7 +147,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/storage/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/storage/issues/new?body=module:%20fs_attachment_s3%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/storage/issues/new?body=module:%20fs_attachment_s3%0Aversion:%2020.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Expand Down Expand Up @@ -194,6 +194,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-lmignon|

This module is part of the `OCA/storage <https://github.com/OCA/storage/tree/19.0/fs_attachment_s3>`_ project on GitHub.
This module is part of the `OCA/storage <https://github.com/OCA/storage/tree/20.0/fs_attachment_s3>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 1 addition & 2 deletions fs_attachment_s3/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "Fs Attachment S3",
"summary": """Store attachments into S3 complient filesystem""",
"version": "19.0.1.2.1",
"version": "20.0.1.0.0",
"license": "AGPL-3",
"author": "ACSONE SA/NV,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/storage",
Expand All @@ -18,5 +18,4 @@
"views/fs_storage.xml",
],
"maintainers": ["lmignon"],
"installable": False,
}
9 changes: 6 additions & 3 deletions fs_attachment_s3/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2026-01-19 10:50+0000\n"
"PO-Revision-Date: 2026-09-25 20:46+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
Expand All @@ -25,7 +25,7 @@ msgstr "Allegato"
#: model:ir.model.fields,field_description:fs_attachment_s3.field_fs_storage__display_name
#: model:ir.model.fields,field_description:fs_attachment_s3.field_ir_attachment__display_name
msgid "Display Name"
msgstr ""
msgstr "Nome visualizzato"

#. module: fs_attachment_s3
#: model:ir.model,name:fs_attachment_s3.model_fs_storage
Expand All @@ -36,7 +36,7 @@ msgstr "Deposito FS"
#: model:ir.model.fields,field_description:fs_attachment_s3.field_fs_storage__id
#: model:ir.model.fields,field_description:fs_attachment_s3.field_ir_attachment__id
msgid "ID"
msgstr ""
msgstr "ID"

#. module: fs_attachment_s3
#: model:ir.model.fields,help:fs_attachment_s3.field_fs_storage__s3_uses_signed_url_for_x_sendfile
Expand All @@ -63,6 +63,9 @@ msgid ""
"to preserve the server environment managed fields of 'fs.storage'. Make it "
"available on the addons path before upgrading 'fs_attachment_s3'."
msgstr ""
"Il modulo 'fs_attachment_s3_environment' non è disponibile. È necessario per "
"preservare i campi di 'fs.storage' gestiti dall'ambiente server. Renderlo "
"disponibile nel percorso degli addon prima di aggiornare 'fs_attachment_s3'."

#. module: fs_attachment_s3
#: model:ir.model.fields,help:fs_attachment_s3.field_fs_storage__s3_signed_url_expiration
Expand Down
3 changes: 3 additions & 0 deletions fs_attachment_s3/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
6 changes: 3 additions & 3 deletions fs_attachment_s3/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ <h1>Fs Attachment S3</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:b9ef6f12b2c5da8691f2b68238ca35918c5dfe5a75c717bc5727e84a74d6bd91
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/19.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-19-0/storage-19-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=19.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<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/20.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-20-0/storage-20-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=20.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module extends the functionality of
<a class="reference external" href="https://github.com/OCA/storage/tree/16.0/fs_attachment">fs_attachment</a>
to better support Amazon S3 storage. It includes features such as:</p>
Expand Down Expand Up @@ -503,7 +503,7 @@ <h2><a class="toc-backref" href="#toc-entry-7">Bug Tracker</a></h2>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/storage/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/storage/issues/new?body=module:%20fs_attachment_s3%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/storage/issues/new?body=module:%20fs_attachment_s3%0Aversion:%2020.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
Expand Down Expand Up @@ -540,7 +540,7 @@ <h3><a class="toc-backref" href="#toc-entry-12">Maintainers</a></h3>
promote its widespread use.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
<p><a class="reference external image-reference" href="https://github.com/lmignon"><img alt="lmignon" src="https://github.com/lmignon.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/storage/tree/19.0/fs_attachment_s3">OCA/storage</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/storage/tree/20.0/fs_attachment_s3">OCA/storage</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
Expand Down
4 changes: 1 addition & 3 deletions fs_attachment_s3/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@

from odoo.tests.common import TransactionCase

from odoo.addons.base.tests.common import DISABLED_MAIL_CONTEXT


class TestFSAttachmentS3Common(TransactionCase):
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.env = cls.env(context=dict(cls.env.context, **DISABLED_MAIL_CONTEXT))
cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True))
cls.s3_backend_config = {
"name": "S3 Storage",
"protocol": "s3",
Expand Down
21 changes: 0 additions & 21 deletions fs_attachment_s3/upgrades/19.0.1.2.1/post-migration.py

This file was deleted.

4 changes: 2 additions & 2 deletions fs_attachment_s3/views/fs_storage.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright 2025 ACSONE SA/NV
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<record model="ir.ui.view" id="fs_storage_form_view">
<record id="fs_storage_form_view" model="ir.ui.view">
<field name="model">fs.storage</field>
<field name="inherit_id" ref="fs_attachment.fs_storage_form_view" />
<field name="arch" type="xml">
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# generated from manifests external_dependencies
fsspec[s3]
2 changes: 2 additions & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ odoo_test_helper
requests_mock
vcrpy-unittest
s3fs>=2025.3.0
odoo-addon-fs_storage @ git+https://github.com/OCA/storage@refs/pull/670/head#subdirectory=fs_storage
odoo-addon-fs_attachment @ git+https://github.com/OCA/storage@refs/pull/679/head#subdirectory=fs_attachment
Loading