Commit Graph

8 Commits

Author SHA1 Message Date
oca-ci
7556db18cb [UPD] Update attachment_zipped_download.pot 2024-04-02 18:06:44 +00:00
Víctor Martínez
2b993f9eab [MIG] attachment_zipped_download: Migration to 15.0
TT48578
2024-04-02 14:01:36 +02:00
mymage
9750688bc0 Translated using Weblate (Italian)
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/
2024-04-02 13:55:18 +02:00
Pierre Verkest
9cfafbb239 [IMP] attachment_zipped_download: provide ir.attachment.action_download 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/
2024-04-02 13:55:17 +02:00
Pierre Verkest
b24ac7ba31 [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 14.0.1.0.2
2024-04-02 13:55:14 +02:00
Víctor Martínez
85d1c6bc86 [FIX] attachment_zipped_download: Fix tests
attachment_zipped_download 14.0.1.0.1
2024-04-02 13:55:12 +02:00
mymage
1443166fa1 Added translation using Weblate (Italian)
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/
2024-04-02 13:55:11 +02:00
Víctor Martínez
d395c0ce15 [ADD] attachment_zipped_download: New addon.
TT33403

[UPD] Update attachment_zipped_download.pot

[UPD] README.rst
2024-04-02 13:55:09 +02:00