| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 1008 |
| Technical Name |
muk_web_preview |
| License | LGPL-3 |
| Website | http://www.mukit.at |
| Versions | 8.0 10.0 11.0 12.0 19.0 |
MuK Preview
Extends the file viewer with additional preview types
MuK IT GmbH - www.mukit.at
Overview
Extends the built-in file viewer with additional preview support for file types such as email messages and CSV files. The module also adds common text-based mimetypes to the viewer so they can be previewed directly without downloading.
Email Preview
Email files (.eml)
can be previewed directly in the file viewer. The email body is rendered as
HTML and inline CID image references are automatically resolved, so embedded
images display correctly without downloading the file first.
CSV Preview
CSV and TSV files are displayed as a formatted HTML table with headers, striped rows, and hover highlighting. Large files are automatically truncated to keep the preview fast and responsive. The module handles various encodings and delimiter styles automatically.
Office Preview
Microsoft Office documents such as Word
(.doc,
.docx), Excel
(.xls,
.xlsx), and PowerPoint
(.ppt,
.pptx) can be
previewed directly in the file viewer using the Microsoft Office Online Viewer.
This feature must be enabled in Settings and requires the Odoo instance to be
publicly accessible. File access is secured through short-lived, signed tokens.
Additional Text Types
The file viewer now supports previewing many additional text-based file types directly, including Markdown, XML, Python, YAML, Shell scripts, reStructuredText, and SQL files. These files are displayed as plain text in the viewer instead of requiring a download.
Want more?
Are you having troubles with your Odoo integration? Or do you feel
your system lacks of essential features?
If your answer is YES
to one of the above questions, feel free to contact us at anytime
with your inquiry.
We are looking forward to discuss your
needs and plan the next steps with you.
Our Services
Odoo
Development
Odoo
Integration
Odoo
Infrastructure
Odoo
Training
Odoo
Support
MuK Preview
Extends the built-in file viewer with additional preview support for file types such as email messages, CSV files, and Microsoft Office documents. The module also adds common text-based mimetypes to the viewer so they can be previewed directly without downloading.
Installation
To install this module, you need to:
Download the module and add it to your Odoo addons folder. Afterward, log on to your Odoo server and go to the Apps menu. Trigger the debug mode and update the list by clicking on the "Update Apps List" link. Now install the module by clicking on the install button.
Upgrade
To upgrade this module, you need to:
Download the module and add it to your Odoo addons folder. Restart the server and log on to your Odoo server. Select the Apps menu and upgrade the module by clicking on the upgrade button.
Configuration
To enable Microsoft Office file preview, go to Settings and enable the MS Office Preview option. This uses the Microsoft Office Online viewer to render docx, xlsx, and pptx files directly in the browser. The Odoo instance must be publicly accessible from the internet for this feature to work. Files are served via short-lived one-time token URLs for security.
Usage
Once installed, the file viewer automatically supports additional file types:
- Email Messages (.eml): Email files are rendered as HTML with inline images resolved from CID attachments.
- CSV/TSV Files: Comma and tab separated files are displayed as formatted HTML tables with headers, striped rows, and truncation for large files.
- Microsoft Office (.docx, .xlsx, .pptx): Office documents are previewed using the Microsoft Office Online viewer in read-only mode. A "Preview only" badge is shown to make it clear the file cannot be edited. This feature must be enabled in Settings and requires the Odoo instance to be publicly accessible.
- Additional Text Types: Files with mimetypes such as text/csv, text/markdown, text/xml, text/x-python, text/x-rst, text/x-yaml, application/xml, application/x-yaml, application/x-sh, and application/sql can now be previewed directly in the file viewer.
Credits
Contributors
- Mathias Markl <mathias.markl@mukit.at>
Author & Maintainer
This module is maintained by the MuK IT GmbH.
MuK IT is an Austrian company specialized in customizing and extending Odoo. We develop custom solutions for your individual needs to help you focus on your strength and expertise to grow your business.
If you want to get in touch please contact us via mail (sale@mukit.at) or visit our website (https://mukit.at).
Please log in to comment on this module