Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Lines of code | 180 |
Technical Name |
binary_attachment_preview |
License | LGPL-3 |
Website | https://windx.com.vn |
Versions | 16.0 17.0 18.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Lines of code | 180 |
Technical Name |
binary_attachment_preview |
License | LGPL-3 |
Website | https://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.
- 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).

HOW IT WORKS
-
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.
WinDX Odoo Services

Odoo Implementation

Odoo Community Apps

Odoo Support & Maintenance

Odoo Customization

Odoo Integration Services

Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedThere are no ratings yet!
MS Office?
Hi,
Is possible to open ms office documents like docx, xlsx ?
Re: MS Office?
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.