| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 660 |
| Technical Name |
nvt_attachment_preview |
| License | OPL-1 |
| Versions | 17.0 18.0 19.0 |
Attachment Preview
Preview PDF, Word, Excel, PowerPoint, Text, Images & Videos directly in Odoo. No download, no external apps – just click the attachment and view it instantly.
Why Choose Attachment Preview?
Stop downloading attachments just to look at them. This module extends the Odoo FileViewer so Office documents, CSV, images and videos open directly in the browser – from chatter and form views.
|
📄
Office & PDF PreviewView DOCX, XLSX, PPTX, CSV and PDF files inside Odoo using modern JS libraries (docx-preview, SheetJS, JSZip) – no server-side conversion. |
🖼️
Images & VideosKeep the native Odoo behavior for images and extend it with HTML5 video preview for MP4, WebM and more – all in the same viewer. |
💬
Chatter IntegrationClick any compatible attachment in chatter and it opens directly in the FileViewer with navigation, download, and close actions. |
|
📎
Binary & Many2many BinaryAdds a preview hotspot on file names for Binary and Many2many binary widgets, without breaking the default upload / download buttons. |
🧩
Native UXReuses Odoo's FileViewer UI and design. Users instantly understand how it works – no training required. |
⚙️
Lightweight & SafeEverything runs client-side in the browser, based on the existing attachment content route. No extra storage or background jobs. |
Supported File Types
| Type | Extensions | Preview Mode |
|---|---|---|
| Odoo PDF viewer | ||
| Word | .docx, .doc | docx-preview (rendered pages) |
| Excel & CSV | .xlsx, .xls, .csv | SheetJS grid view |
| PowerPoint | .pptx | Slide content preview |
| Text / Code | .txt, .json, .xml, .html, .css, .js | In-browser text viewer |
| Images | .png, .jpg, .jpeg, .gif, .bmp, .svg, .webp | Native image viewer |
| Videos | .mp4, .webm, .mkv | HTML5 video player |
See It In Action
Real screenshots from Odoo showing how different file types are rendered in the FileViewer.
PDF Preview
PDF attachments open in the familiar Odoo PDF viewer inside the FileViewer. Users can scroll pages, zoom and download if needed – without leaving the record.
Word Document Preview
DOCX files are rendered page by page directly in the browser, keeping headings, paragraphs and basic formatting so users can quickly read contracts or documents.
Excel & CSV Grid View
XLSX/CSV files are displayed in a spreadsheet-like grid with rows and columns, so users can scan data without opening Excel or Google Sheets.
PowerPoint Slides Preview
PPTX slide content is extracted and shown directly in Odoo so users can quickly review presentations attached to tasks, opportunities or projects.
Text & Code Files
Logs, JSON payloads, XML or simple TXT notes open in a clean text viewer, making it easy for functional and technical users to inspect content.
Image Preview
Image attachments keep the standard Odoo viewing experience inside the FileViewer, so your users have one consistent place to open any attachment type.
Need Help?
Full support included. Questions, customization requests, or issues – just reach out!
nguyentuann1004@gmail.comVersion: 19.0.1.0.0 | License: OPL-1 | Author: Tuan Nguyen Van
Compatible with Odoo 19 Community, Enterprise, and Odoo.sh
© 2026 Tuan Nguyen Van. All rights reserved.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module