[19.0] [MIG] attachment_zipped_download: Migration to 19.0#579
[19.0] [MIG] attachment_zipped_download: Migration to 19.0#579OCA-git-bot merged 22 commits intoOCA:19.0from
Conversation
TT33403 [UPD] Update attachment_zipped_download.pot [UPD] README.rst
[UPD] Update attachment_zipped_download.pot [UPD] README.rst Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: knowledge-16.0/knowledge-16.0-attachment_zipped_download Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-attachment_zipped_download/
Translated using Weblate (Italian) Currently translated at 100.0% (4 of 4 strings) Translation: knowledge-16.0/knowledge-16.0-attachment_zipped_download Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-attachment_zipped_download/it/
attachment_zipped_download 16.0.1.0.1
Currently translated at 100.0% (4 of 4 strings) Translation: knowledge-16.0/knowledge-16.0-attachment_zipped_download Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-attachment_zipped_download/it/
Translated using Weblate (Croatian) Currently translated at 100.0% (4 of 4 strings) Translation: knowledge-16.0/knowledge-16.0-attachment_zipped_download Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-attachment_zipped_download/hr/
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 16.0.1.0.2
…ad mixin This helps to download multiple attachments from any models. [UPD] README.rst [UPD] Update attachment_zipped_download.pot [UPD] README.rst attachment_zipped_download 16.0.2.0.0 [UPD] README.rst Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: knowledge-16.0/knowledge-16.0-attachment_zipped_download Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-attachment_zipped_download/
Currently translated at 100.0% (7 of 7 strings) Translation: knowledge-16.0/knowledge-16.0-attachment_zipped_download Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-attachment_zipped_download/es/
Before the fix, 0 bytes would be transferred.
Currently translated at 100.0% (7 of 7 strings) Translation: knowledge-16.0/knowledge-16.0-attachment_zipped_download Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-attachment_zipped_download/it/ Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: knowledge-16.0/knowledge-16.0-attachment_zipped_download Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-attachment_zipped_download/
[BOT] post-merge updates [BOT] post-merge updates
Translated using Weblate (Portuguese) Currently translated at 100.0% (7 of 7 strings) Translation: knowledge-16.0/knowledge-16.0-attachment_zipped_download Translate-URL: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-attachment_zipped_download/pt/
TT52268 [UPD] Update attachment_zipped_download.pot [BOT] post-merge updates Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: knowledge-17.0/knowledge-17.0-attachment_zipped_download Translate-URL: https://translation.odoo-community.org/projects/knowledge-17-0/knowledge-17-0-attachment_zipped_download/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: knowledge-18.0/knowledge-18.0-attachment_zipped_download Translate-URL: https://translation.odoo-community.org/projects/knowledge-18-0/knowledge-18-0-attachment_zipped_download/
|
/ocabot migration attachment_zipped_download |
gregory-rutecki
left a comment
There was a problem hiding this comment.
Tested on live Odoo 19.0 instance, LGTM. All CI green.
|
This PR has the |
|
@pedrobaeza @stferraro Hi, gentle ping on this and the remaining knowledge module PRs (#571-#577, #588, #589). Our clients are waiting to migrate from Odoo v18 to v19, but they need the knowledge module suite to be officially available in the OCA repository before we can proceed. The complete set of modules has been submitted and all pass pre-commit — several already have the "approved" label. Could we kindly ask for a review and merge when possible? This is blocking the v18 → v19 migration path for us and likely many other Odoo users. Knowledge is a critical module for service companies relying on Odoo for document management. Thank you for your time and all the work you do maintaining this repo! |
pedrobaeza
left a comment
There was a problem hiding this comment.
Nothing prevents you from using the modules in PRs. We do it when we need it.
Anyway, let's merge this one, as already correct and reviewed by me and 2 more.
/ocabot merge nobump
|
Hey, thanks for contributing! Proceeding to merge this for you. |
|
Congratulations, your PR was merged at 44c09d4. Thanks a lot for contributing to OCA. ❤️ |
No description provided.