diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 57aa2bb97d..8ae8e078d1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,6 @@ exclude: | ^fs_folder_ms_drive/| ^fs_folder_webdav/| ^fs_image/| - ^fs_storage_environment/| ^fs_storage_ms_drive/| ^image_tag/| ^microsoft_drive_account/| diff --git a/fs_storage_environment/README.rst b/fs_storage_environment/README.rst index 9086c64b7e..ffacd606b3 100644 --- a/fs_storage_environment/README.rst +++ b/fs_storage_environment/README.rst @@ -21,13 +21,13 @@ Filesystem Storage Backend :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html :alt: License: LGPL-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_storage_environment + :target: https://github.com/OCA/storage/tree/20.0/fs_storage_environment :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_storage_environment + :target: https://translation.odoo-community.org/projects/storage-20-0/storage-20-0-fs_storage_environment :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| @@ -102,7 +102,7 @@ Bug Tracker Bugs are tracked on `GitHub 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -135,6 +135,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/storage `_ project on GitHub. +This module is part of the `OCA/storage `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/fs_storage_environment/__manifest__.py b/fs_storage_environment/__manifest__.py index aee1b8ef18..bf4556e6df 100644 --- a/fs_storage_environment/__manifest__.py +++ b/fs_storage_environment/__manifest__.py @@ -4,13 +4,13 @@ { "name": "Filesystem Storage Backend", "summary": "Allows to use server environment with fs storage", - "version": "19.0.1.0.0", + "version": "20.0.1.0.0", "category": "FS Storage", "website": "https://github.com/OCA/storage", "author": " ACSONE SA/NV, Dixmit, Odoo Community Association (OCA)", "license": "LGPL-3", "development_status": "Beta", - "installable": False, + "installable": True, "depends": ["fs_storage", "server_environment"], "post_init_hook": "post_init_hook", "uninstall_hook": "uninstall_hook", diff --git a/fs_storage_environment/models/fs_storage.py b/fs_storage_environment/models/fs_storage.py index 57b08ba17d..8382649d7f 100644 --- a/fs_storage_environment/models/fs_storage.py +++ b/fs_storage_environment/models/fs_storage.py @@ -11,7 +11,7 @@ class FSStorage(models.Model): _name = "fs.storage" - _inherit = ["fs.storage", "server.env.mixin"] + _inherit = ["fs.storage", "server.env.mixin"] # noqa: RUF012 _server_env_section_name_field = "code" diff --git a/fs_storage_environment/pyproject.toml b/fs_storage_environment/pyproject.toml new file mode 100644 index 0000000000..4231d0cccb --- /dev/null +++ b/fs_storage_environment/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/fs_storage_environment/static/description/index.html b/fs_storage_environment/static/description/index.html index baf2866e07..ddcbb6edb7 100644 --- a/fs_storage_environment/static/description/index.html +++ b/fs_storage_environment/static/description/index.html @@ -374,7 +374,7 @@

Filesystem Storage Backend

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:8340611b64c0beac68d50d510a77ee94b9d78e1db9616b43a672274b7de0d267 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: LGPL-3 OCA/storage Translate me on Weblate Try me on Runboat

+

Beta License: LGPL-3 OCA/storage Translate me on Weblate Try me on Runboat

This module allows to use server environment with fs storage. It is a bridge between fs_storage and server_environment modules. It provides an implementation of the StorageEnvironment class that uses the filesystem @@ -450,7 +450,7 @@

Bug Tracker

Bugs are tracked on GitHub 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.

+feedback.

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

@@ -479,7 +479,7 @@

Maintainers

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

-

This module is part of the OCA/storage project on GitHub.

+

This module is part of the OCA/storage project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

diff --git a/test-requirements.txt b/test-requirements.txt index e63f876677..67cdcaf250 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,3 +2,4 @@ odoo_test_helper requests_mock vcrpy-unittest s3fs>=2025.3.0 +odoo-addon-server_environment @ git+https://github.com/OCA/server-env.git@refs/pull/307/head#subdirectory=server_environment