Skip to Content
Menu

BINARY Preview Attachments (MS Office/PDF/Image/Video) with FREE 60 days support technical/fix bug (60-day warranty included)

by
Odoo

59.99

v 18.0 Third Party 10
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 439728
Technical Name windx_binary_attachment_preview
LicenseLGPL-3
Websitehttps://windx.com.vn
Versions 17.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 439728
Technical Name windx_binary_attachment_preview
LicenseLGPL-3
Websitehttps://windx.com.vn
Versions 17.0 18.0
Snow

Background

PREVIEW BINARY ATTACHMENT (PDF, IMAGE, AUDIO, VIDEO, MS OFFICE)

Preview Binary Attachment saves effort and storage of users as it allows them to preview the document before downloading it.

OUTSTANDING FEATURES

This app can be used in all Odoo modules to display attachments including PDF, image, audio, video, MS Office (xlsx, docx, pptx) file format.
Background

Free 60 Days support

WinDX will provide FREE 60-day support for any doubts, queries, and bug fixing or any types of issues related to this module. This is applicable from the date of purchase.

Contact us:

WhatsApp

+84 (919) 88 99 69

E-Mail

nguyenxuanlinh@windx.com.vn

Facebook

https://www.facebook.com/windxofficial

Website

https://windx.com.vn/

Background

1. Custom Binary Field Support

  • Works with custom BINARY FIELDS using the new widget: binary_attachment_preview_ms

2. Supports MULTIPLE File Formats

  • Preview file formats include pdf, image (jpeg, gif, png, webp), audio (mp3, wav), video (mp4, mov, webm), MS Office (xlsx, docx, pptx)

3. Preview files

  • Preview files from ANYWHERE inside the Odoo module

4. Preview a document

  • User can preview a document WITHOUT DOWNLOADING
  • If you’re adding the Binary Field to a new code or already working code, then add attachment=True in Python model wherever you wish to add the field.
  • A button like ( ) will be visible beside all binary fields like shown in the image.
  • Allow access to preview the attachments for the normal user.

User Guide


Watch video tutorial

This module relies on an external Python library called 'magic'. Before you install the module, you need to install this Python package first. You can do this using the command provided below.

OS - Linux

sudo apt install libmagic1
pip install python-magic

OS - macOS

brew install libmagic
pip install python-magic

OS - Windows

pip install python-magic-bin

Contact us


WhatsApp

+84 (919) 88 99 69

E-Mail

nguyenxuanlinh@windx.com.vn

Facebook

https://www.facebook.com/windxofficial

Website

https://windx.com.vn/

General

What does this module do?

Preview attachments (PDF, images, videos, MS Office files) directly in Odoo without downloading.

What file formats are supported?

PDF, images (JPEG/GIF/PNG/WebP), audio (MP3/WAV), video (MP4/MOV/WebM), MS Office (DOCX/XLSX/PPTX).

How to enable preview?

Add attachment = True to binary fields in Python models. Also add widget = 'binary_attachment_preview_ms' in the xml view of the fields. A preview button will appear next to file fields.

Where does it work?

Everywhere in Odoo - form views, chatter, kanban, portal, and custom binary fields.

Any special requirements?

Install python-magic library (and libmagic on Linux/macOS, python-magic-bin on Windows).

SUGGESTED PRODUCTS

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
by
linh luong
on 4/28/25, 2:59 AM



There are no comments yet!