Commit Graph

9 Commits

Author SHA1 Message Date
OCA-git-bot
c04885e0e9 attachment_zipped_download 14.0.1.0.2 2023-05-03 08:35:13 +00:00
Pierre Verkest
e8a1329667 [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...).
2023-05-03 09:20:18 +02:00
OCA-git-bot
6c9f34ad77 attachment_zipped_download 14.0.1.0.1 2023-01-24 14:59:56 +00:00
Víctor Martínez
f66d3328b5 [FIX] attachment_zipped_download: Fix tests 2023-01-24 13:28:59 +01:00
mymage
7886b9e84a 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/
2022-12-29 02:09:17 +00:00
mymage
f7fa50c91f Added translation using Weblate (Italian) 2022-12-28 22:40:10 +00:00
OCA-git-bot
173b17331a [UPD] README.rst 2022-03-17 10:03:42 +00:00
oca-travis
8f42a1b6d1 [UPD] Update attachment_zipped_download.pot 2022-03-17 10:00:13 +00:00
Víctor Martínez
f1857c08ee [ADD] attachment_zipped_download: New addon.
TT33403
2022-03-16 09:55:48 +01:00