From ce4440b2155013a82a59434e76cd85edeabe1dfe Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Tue, 17 Oct 2023 06:28:12 +0000 Subject: [PATCH] [BOT] post-merge updates --- README.md | 2 +- fs_file/README.rst | 15 ++++++++- fs_file/__manifest__.py | 2 +- fs_file/readme/HISTORY.rst | 13 +++++++ fs_file/readme/newsfragments/288.bugfix | 6 ---- fs_file/static/description/index.html | 45 ++++++++++++++++--------- 6 files changed, 58 insertions(+), 25 deletions(-) delete mode 100644 fs_file/readme/newsfragments/288.bugfix diff --git a/README.md b/README.md index daaed19dad..fa20cf7e3e 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ addon | version | maintainers | summary [fs_attachment](fs_attachment/) | 16.0.1.0.2 | [![lmignon](https://github.com/lmignon.png?size=30px)](https://github.com/lmignon) | Store attachments on external object store [fs_base_multi_image](fs_base_multi_image/) | 16.0.1.0.0 | [![lmignon](https://github.com/lmignon.png?size=30px)](https://github.com/lmignon) | Mulitple Images from External File System [fs_base_multi_media](fs_base_multi_media/) | 16.0.1.0.1 | [![lmignon](https://github.com/lmignon.png?size=30px)](https://github.com/lmignon) | Give the possibility to store media data in external filesystem from odoo -[fs_file](fs_file/) | 16.0.1.0.3 | [![lmignon](https://github.com/lmignon.png?size=30px)](https://github.com/lmignon) | Field to store files into filesystem storages +[fs_file](fs_file/) | 16.0.1.0.4 | [![lmignon](https://github.com/lmignon.png?size=30px)](https://github.com/lmignon) | Field to store files into filesystem storages [fs_file_demo](fs_file_demo/) | 16.0.1.0.0 | | Demo addon for fs_file and fs_image [fs_image](fs_image/) | 16.0.1.0.0 | [![lmignon](https://github.com/lmignon.png?size=30px)](https://github.com/lmignon) | Field to store images into filesystem storages [fs_image_thumbnail](fs_image_thumbnail/) | 16.0.1.0.1 | [![lmignon](https://github.com/lmignon.png?size=30px)](https://github.com/lmignon) | Generate and store thumbnail for images diff --git a/fs_file/README.rst b/fs_file/README.rst index 702e57d076..55fb699268 100644 --- a/fs_file/README.rst +++ b/fs_file/README.rst @@ -7,7 +7,7 @@ Fs File !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:d6ea594d6795e6f2c69115be31a54924bb63d9e3e6791a08ee9ac13c28720688 + !! source digest: sha256:d10dda828237bf1a04e7de14b55b0b988307b2c1180ca5ed4938f53ee075a3cc !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png @@ -150,6 +150,19 @@ Concretely, this design allows you to write code like this: Changelog ========= +16.0.1.0.4 (2023-10-17) +~~~~~~~~~~~~~~~~~~~~~~~ + +**Bugfixes** + +- Browse attachment with sudo() to avoid read access errors + + In models that have a multi fs image relation, a new line + in form will trigger onchanges and will call the fs.file model + 'convert_to_cache()' method that will try to browse the attachment + with user profile that could have no read rights on attachment model. (`#288 `_) + + 16.0.1.0.3 (2023-10-05) ~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/fs_file/__manifest__.py b/fs_file/__manifest__.py index 41e5b1e992..32e93db165 100644 --- a/fs_file/__manifest__.py +++ b/fs_file/__manifest__.py @@ -5,7 +5,7 @@ "name": "Fs File", "summary": """ Field to store files into filesystem storages""", - "version": "16.0.1.0.3", + "version": "16.0.1.0.4", "license": "AGPL-3", "author": "ACSONE SA/NV,Odoo Community Association (OCA)", "website": "https://github.com/OCA/storage", diff --git a/fs_file/readme/HISTORY.rst b/fs_file/readme/HISTORY.rst index 48c1ed8fab..555ef8917a 100644 --- a/fs_file/readme/HISTORY.rst +++ b/fs_file/readme/HISTORY.rst @@ -1,3 +1,16 @@ +16.0.1.0.4 (2023-10-17) +~~~~~~~~~~~~~~~~~~~~~~~ + +**Bugfixes** + +- Browse attachment with sudo() to avoid read access errors + + In models that have a multi fs image relation, a new line + in form will trigger onchanges and will call the fs.file model + 'convert_to_cache()' method that will try to browse the attachment + with user profile that could have no read rights on attachment model. (`#288 `_) + + 16.0.1.0.3 (2023-10-05) ~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/fs_file/readme/newsfragments/288.bugfix b/fs_file/readme/newsfragments/288.bugfix deleted file mode 100644 index 79e4bb3b50..0000000000 --- a/fs_file/readme/newsfragments/288.bugfix +++ /dev/null @@ -1,6 +0,0 @@ -Browse attachment with sudo() to avoid read access errors - -In models that have a multi fs image relation, a new line -in form will trigger onchanges and will call the fs.file model -'convert_to_cache()' method that will try to browse the attachment -with user profile that could have no read rights on attachment model. diff --git a/fs_file/static/description/index.html b/fs_file/static/description/index.html index e5bdf0f6a7..3bb4b0acd7 100644 --- a/fs_file/static/description/index.html +++ b/fs_file/static/description/index.html @@ -367,7 +367,7 @@

Fs File

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:d6ea594d6795e6f2c69115be31a54924bb63d9e3e6791a08ee9ac13c28720688 +!! source digest: sha256:d10dda828237bf1a04e7de14b55b0b988307b2c1180ca5ed4938f53ee075a3cc !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Alpha License: AGPL-3 OCA/storage Translate me on Weblate Try me on Runboat

This addon defines a new field type FSFile which is a file field that stores @@ -385,15 +385,16 @@

Fs File