[15.0][MIG] attachment_zipped_download: Migration to 15.0 - #473
Merged
OCA-git-bot merged 8 commits intoApr 2, 2024
Conversation
TT33403 [UPD] Update attachment_zipped_download.pot [UPD] README.rst
Translated using Weblate (Italian) Currently translated at 100.0% (7 of 7 strings) Translation: knowledge-14.0/knowledge-14.0-attachment_zipped_download Translate-URL: https://translation.odoo-community.org/projects/knowledge-14-0/knowledge-14-0-attachment_zipped_download/it/
attachment_zipped_download 14.0.1.0.1
The previous code allowed any authenticated to retreive any attachment present
on odoo filesystem. So a WMS user could technically spoken download a zip with
accounting documents.
This implementation is calling attachemnt.check("read") to ensure access
right and use attachemnt.raw attribute to retreive file to archive which
(not test) should works with attachment saved somewhere else than the
local filesystem (s3 storage, pgsql large object storage...).
attachment_zipped_download 14.0.1.0.2
…ad mixin This helps to download multiple attachments from any models. [UPD] Update attachment_zipped_download.pot [UPD] README.rst attachment_zipped_download 14.0.2.0.0 [UPD] README.rst Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: knowledge-14.0/knowledge-14.0-attachment_zipped_download Translate-URL: https://translation.odoo-community.org/projects/knowledge-14-0/knowledge-14-0-attachment_zipped_download/
Currently translated at 100.0% (10 of 10 strings) Translation: knowledge-14.0/knowledge-14.0-attachment_zipped_download Translate-URL: https://translation.odoo-community.org/projects/knowledge-14-0/knowledge-14-0-attachment_zipped_download/it/ Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: knowledge-14.0/knowledge-14.0-attachment_zipped_download Translate-URL: https://translation.odoo-community.org/projects/knowledge-14-0/knowledge-14-0-attachment_zipped_download/ Translated using Weblate (Spanish) Currently translated at 100.0% (10 of 10 strings) Translation: knowledge-14.0/knowledge-14.0-attachment_zipped_download Translate-URL: https://translation.odoo-community.org/projects/knowledge-14-0/knowledge-14-0-attachment_zipped_download/es/
Contributor
|
/ocabot migration attachment_zipped_download |
Contributor
|
This PR looks fantastic, let's merge it! |
Contributor
|
Congratulations, your PR was merged at d4cba36. Thanks a lot for contributing to OCA. ❤️ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migration to 15.0
Please @pedrobaeza and @chienandalu can you review it?
@Tecnativa TT48578