Repository
OCA/knowledge · module folder · Try on Runboat
Module version
1.0.0
Category
Tools
Folder size
0.06 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/knowledge
Last tracking update
2026-08-07 09:06:26
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Weblate, OCA-git-bot, oca-ci, Bhavesh Heliconia
Odoo dependencies
odoo/odoo:
Python dependencies
None
System dependencies
None
Required by
None
Description
This module allows downloading multiple attachments as a zip file.

This also provide a helper class IrAttachmentActionDownloadMixin to be
used by developer to add action method on models.

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (1)
Route(s)HandlerAuthTypeMethodsFlags
/web/attachment/download_zip AttachmentZippedDownloadController.download_zip user http ALL
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • action_attachments_download(self)

New fields (0)

No new fields.

Public methods (1)
  • action_download_attachments(self)
    Return action to: * emit a warning message if no attachment found * download a file if only 1 file found * zip and download the list of attachment returns by `_get_downloadable_attachments`

Loading…

Loading…

Loading…

Loading…

Loading…