From ae79d689926febf78697b2d6192d4b0cc6fe78a0 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Fri, 10 May 2024 09:04:07 +0000 Subject: [PATCH] [BOT] post-merge updates --- README.md | 2 +- fs_attachment/README.rst | 16 +++- fs_attachment/__manifest__.py | 2 +- fs_attachment/readme/HISTORY.rst | 14 ++++ fs_attachment/readme/newsfragments/361.bugfix | 7 -- fs_attachment/static/description/index.html | 81 +++++++++++-------- 6 files changed, 77 insertions(+), 45 deletions(-) delete mode 100644 fs_attachment/readme/newsfragments/361.bugfix diff --git a/README.md b/README.md index 5008a7cc5b..107e2cce7b 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Available addons ---------------- addon | version | maintainers | summary --- | --- | --- | --- -[fs_attachment](fs_attachment/) | 16.0.1.0.12 | [![lmignon](https://github.com/lmignon.png?size=30px)](https://github.com/lmignon) | Store attachments on external object store +[fs_attachment](fs_attachment/) | 16.0.1.0.13 | [![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.1.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.6 | [![lmignon](https://github.com/lmignon.png?size=30px)](https://github.com/lmignon) | Field to store files into filesystem storages diff --git a/fs_attachment/README.rst b/fs_attachment/README.rst index 7dcf7bf8bc..334bee4fde 100644 --- a/fs_attachment/README.rst +++ b/fs_attachment/README.rst @@ -7,7 +7,7 @@ Base Attachment Object Store !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:19ab9ab058fa1713cedf138ebaeb841bd1ecb26499e27fa0a6b77513b9944c16 + !! source digest: sha256:b5edf870893cead02cbc1024299e8ef94cdd120d7399843b303e4df3b11e25cd !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png @@ -314,6 +314,20 @@ Tips & Tricks Changelog ========= +16.0.1.0.13 (2024-05-10) +~~~~~~~~~~~~~~~~~~~~~~~~ + +**Bugfixes** + +- No crash o missign file. + + Prior to this change, Odoo was crashing as soon as access to a file stored into + an external filesytem was not possible. This can lead to a complete system block. + This change prevents this kind of blockage by ignoring access error to files + stored into external system on read operations. These kind of errors are logged + into the log files for traceability. (`#361 `_) + + 16.0.1.0.8 (2023-12-20) ~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/fs_attachment/__manifest__.py b/fs_attachment/__manifest__.py index 059a577cca..b296804e7a 100644 --- a/fs_attachment/__manifest__.py +++ b/fs_attachment/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Base Attachment Object Store", "summary": "Store attachments on external object store", - "version": "16.0.1.0.12", + "version": "16.0.1.0.13", "author": "Camptocamp, ACSONE SA/NV, Odoo Community Association (OCA)", "license": "AGPL-3", "development_status": "Beta", diff --git a/fs_attachment/readme/HISTORY.rst b/fs_attachment/readme/HISTORY.rst index bce6accabc..0d96aa5de4 100644 --- a/fs_attachment/readme/HISTORY.rst +++ b/fs_attachment/readme/HISTORY.rst @@ -1,3 +1,17 @@ +16.0.1.0.13 (2024-05-10) +~~~~~~~~~~~~~~~~~~~~~~~~ + +**Bugfixes** + +- No crash o missign file. + + Prior to this change, Odoo was crashing as soon as access to a file stored into + an external filesytem was not possible. This can lead to a complete system block. + This change prevents this kind of blockage by ignoring access error to files + stored into external system on read operations. These kind of errors are logged + into the log files for traceability. (`#361 `_) + + 16.0.1.0.8 (2023-12-20) ~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/fs_attachment/readme/newsfragments/361.bugfix b/fs_attachment/readme/newsfragments/361.bugfix deleted file mode 100644 index f4bfb546dd..0000000000 --- a/fs_attachment/readme/newsfragments/361.bugfix +++ /dev/null @@ -1,7 +0,0 @@ -No crash o missign file. - -Prior to this change, Odoo was crashing as soon as access to a file stored into -an external filesytem was not possible. This can lead to a complete system block. -This change prevents this kind of blockage by ignoring access error to files -stored into external system on read operations. These kind of errors are logged -into the log files for traceability. diff --git a/fs_attachment/static/description/index.html b/fs_attachment/static/description/index.html index 8c415088b2..b63b75de14 100644 --- a/fs_attachment/static/description/index.html +++ b/fs_attachment/static/description/index.html @@ -8,11 +8,10 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ +:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. -Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -275,7 +274,7 @@ margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: gray; } /* line numbers */ +pre.code .ln { color: grey; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -301,7 +300,7 @@ span.pre { white-space: pre } -span.problematic, pre.problematic { +span.problematic { color: red } span.section-subtitle { @@ -367,7 +366,7 @@

Base Attachment Object Store

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

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

In some cases, you need to store attachment in another system that the Odoo’s @@ -423,19 +422,20 @@

Base Attachment Object Store

  • Changelog
  • -
  • Bug Tracker
  • -
  • Credits @@ -663,14 +663,27 @@

    Tips & Tricks

    Changelog

    -

    16.0.1.0.8 (2023-12-20)

    +

    16.0.1.0.13 (2024-05-10)

    +

    Bugfixes

    +
      +
    • No crash o missign file.

      +

      Prior to this change, Odoo was crashing as soon as access to a file stored into +an external filesytem was not possible. This can lead to a complete system block. +This change prevents this kind of blockage by ignoring access error to files +stored into external system on read operations. These kind of errors are logged +into the log files for traceability. (#361)

      +
    • +
    +
    +
    +

    16.0.1.0.8 (2023-12-20)

    Bugfixes

    • Fix the error retrieving attachment files when the storage is set to optimize directory paths. (#312)
    -
    -

    16.0.1.0.6 (2023-12-02)

    +
    +

    16.0.1.0.6 (2023-12-02)

    Bugfixes

    • Improve performance at creation of an attachment or when the attachment is updated.

      @@ -682,8 +695,8 @@

      16.0.1.0.6 (2023-12-02)

    -
    -

    16.0.1.0.5 (2023-11-29)

    +
    +

    16.0.1.0.5 (2023-11-29)

    Bugfixes

    • When manipulating the file system api through a local variable named fs, @@ -693,22 +706,22 @@

      16.0.1.0.5 (2023-11-29)

      avoiding the name clash. (#306)
    -
    -

    16.0.1.0.4 (2023-11-22)

    +
    +

    16.0.1.0.4 (2023-11-22)

    Bugfixes

    • Fix error when an url is computed for an attachment in a storage configure wihtout directory path. (#302)
    -
    -

    16.0.1.0.3 (2023-10-17)

    +
    +

    16.0.1.0.3 (2023-10-17)

    Bugfixes

    • Fix access to technical models to be able to upload attachments for users with basic access (#289)
    -
    -

    16.0.1.0.2 (2023-10-09)

    +
    +

    16.0.1.0.2 (2023-10-09)

    Bugfixes

    -

    Bug Tracker

    +

    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 @@ -726,16 +739,16 @@

    Bug Tracker

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

    -

    Credits

    +

    Credits

    -

    Authors

    +

    Authors

    • Camptocamp
    • ACSONE SA/NV
    -

    Contributors

    +

    Contributors

    Thierry Ducrest <thierry.ducrest@camptocamp.com> Guewen Baconnier <guewen.baconnier@camptocamp.com> Julien Coux <julien.coux@camptocamp.com> @@ -752,11 +765,9 @@

    Contributors

    Nans Lefebvre <len@lambdao.dev>

    -

    Maintainers

    +

    Maintainers

    This module is maintained by the OCA.

    - -Odoo Community Association - +Odoo Community Association

    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.