Commit Graph

7 Commits

Author SHA1 Message Date
Víctor Martínez
9bb905a9f5 [MIG] attachment_zipped_download: Migration to 17.0
TT52268
2024-12-18 13:24:01 +01:00
Ivan Sokolov
4700bac3da Updated from template
[BOT] post-merge updates

[BOT] post-merge updates
2024-12-18 13:03:27 +01:00
Pierre Verkest
b52f3f6cf6 [IMP] attachment_zipped_download: provide ir.attachment.action_download 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/
2024-12-18 13:03:24 +01:00
Pierre Verkest
3d5a695527 [FIX] attachment_zipped_download: zip allowed document only
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
2024-12-18 13:03:22 +01:00
Víctor Martínez
ae6b608773 [FIX] attachment_zipped_download: Fix tests
attachment_zipped_download 16.0.1.0.1
2024-12-18 13:03:18 +01:00
FernandoRomera
aa52abea6b [16.0][MIG] attachment_zipped_download: Migration to 16.0
[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/
2024-12-18 13:03:16 +01:00
Víctor Martínez
ef0d2bbcb1 [ADD] attachment_zipped_download: New addon.
TT33403
2024-12-18 12:58:15 +01:00