MODULES / OPERATIONS

Attachment Preview

Preview verified PDF and image attachments in a separate browser tab.

Overview

Module idask_attachment_preview
Version1.0.0
Who uses itAnyone who uses the screens listed below.
InstalledOn demand, from Settings → Modules. Anything it needs is installed with it.

How it links to other modules

  • Needs: Core
  • Works better with: no other module in particular
  • Needed by: no other module

A module that is needed cannot be turned off while the module that needs it is on.

Details

Attachment Preview

Optional ASKERP adaptation of report_attachment_preview from D:/Odoo18/sparkosol/addons.odoo18. It adds a separate-tab preview for verified PDF, PNG, JPEG, GIF and WebP attachments already linked to records.

The preview uses the existing attachment service, which checks the active company, owning document, domain read permission and attachment module access. The browser only receives inline PDF or raster image bytes, with nosniff, a sandbox content security policy and private no-store caching. HTML, SVG, office documents and text files are never served inline. The normal download remains available, and disabling this addon removes the preview action without changing attachment storage or history.

No migration or new file storage is introduced.

Attachment Preview | ASKERP Docs