Skip to Content
Menu

Preview Binary Attachment

by
Odoo

16.99

v 18.0 Third Party 16
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 180
Technical Name binary_attachment_preview
LicenseLGPL-3
Websitehttps://windx.com.vn
Versions 16.0 17.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 180
Technical Name binary_attachment_preview
LicenseLGPL-3
Websitehttps://windx.com.vn
Versions 16.0 17.0 18.0

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

Preview Binary Attachment saves effort and storage of users as it allows them to preview the document before downloading it. This app can be used in all Odoo modules to display attachments including PDF, image, audio, video file format.


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

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: 0945027735
  • Facebook: https://www.facebook.com/windxofficial
  • Email: nguyenxuanlinh@windx.com.vn
  • Website: https://windx.com.vn/

FEATURES

  • Supports MULTIPLE file format such as PDF, image, audio and video
  • Preview files from ANYWHERE inside the Odoo module
  • User can preview a document WITHOUT DOWNLOADING
  • Works with custom binary fields.
    • - Add a new widget 'binary_preview'.
  • Support Multiple File Formats.
    • - Preview file formats include pdf, image(jpeg, gif, png, webp), audio(mp3, wav), video(mp4, mov, webm).
Guide of app
HOW IT WORKS
  • arrow 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.
    arrow arrow
  • arrow A button like ( ) will be visible beside all binary fields like shown in the image.
    arrow
  • arrow Allow access to preview the attachments for the normal user.
    arrow
    arrow
    arrow

WinDX Odoo Services

support
Odoo Implementation
apps
Odoo Community Apps
support2
Odoo Support & Maintenance
custom
Odoo Customization
integrated
Odoo Integration Services
develop
Odoo Developer Outsourcing

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.
There are no ratings yet!
MS Office?
by
Stefan Janotak
on 5/13/25, 7:03 AM

Hi,

Is possible to open ms office documents like docx, xlsx ?

Re: MS Office?
by
Win DX JSC
on 5/14/25, 12:25 AM Author

Thank you for your interest, the formats that can be previewed in this module include: PDF, image, audio and video. If you want to preview office, please look for the module available on our market such as Preview MS Office Attachments or our Preview Binary Attachment.