Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Discuss
  3. Office Preview and Attachment Preview - Word Excel Preview, Docx Preview, CSV Preview in Chatter v 19.0
  4. Sales Conditions FAQ

Office Preview and Attachment Preview - Word Excel Preview, Docx Preview, CSV Preview in Chatter

by Modvanta https://modvantaapps.tech/odoo-apps/office-attachment-preview/
Odoo

$ 8.97

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
You bought this module and need support? Click here!
  • Description
  • Manifest
  • License
Office preview and attachment preview for Odoo 19

Office Attachment Preview for Odoo 19

Click a Word, Excel, PowerPoint, OpenDocument or CSV attachment in the chatter and read it in the standard Odoo viewer - no download, no Office on the PC, no external viewer. Files are rendered on your own Odoo server by a pure-Python engine, so it also works where LibreOffice cannot be installed. Customers can preview attachments in the portal too.

Office PreviewAttachment PreviewWord Excel PreviewDocx PreviewXlsx PreviewPptx PreviewPowerPoint PreviewCSV PreviewOpenDocument PreviewChatter PreviewBinary Field PreviewPortal PreviewNo LibreOffice NeededSearch in FileSheet TabsSpeaker NotesReal ThumbnailsPreview CacheSize LimitsSanitised Output
Buy Now - $9Ask a Question
Written and supported by Modvanta - modvantaapps@gmail.com
50+
file extensions
0
extra programs needed
100
automated tests
$9
one-time price
Standard Odoo only previews PDF, images and video
Every quotation in Word, every price list in Excel and every deck in PowerPoint has to be downloaded and opened in another program, again and again. Portal customers have to download too. This module opens those files right in the Odoo viewer, for your team and for your customers.

Key Features

Everything needed to read office files without leaving Odoo.

WORD, EXCEL, POWERPOINT
Word (.docx, .docm, .dotx) with headings, bold / italic / colours, bullet and numbered lists, tables with merged cells, pictures and page breaks. Excel (.xlsx, .xlsm, .xls) with number, percent and date formats, fills, merged cells and one tab per sheet. PowerPoint (.pptx, .ppsx, .potx) slide by slide with text, pictures, tables and positions from the slide layout.
OPENDOCUMENT, CSV AND MORE
OpenDocument text, spreadsheets and presentations (.odt, .ods, .odp), CSV and TSV with automatic delimiter and encoding detection, RTF, e-mail files (.eml with sender, subject, body and the list of attachments), ZIP archives (list of files with size and date), Markdown, logs and code files.
NO LIBREOFFICE NEEDED
A pure-Python engine built on lxml and xlrd, which every Odoo server already has. Nothing to install, nothing to configure, works on hosted servers. If LibreOffice is installed, it is used for old .doc and .ppt files, and on request for exact page layout as PDF.
CHATTER, FIELDS AND PORTAL
Works in the chatter of every app, on file fields (an eye button next to the file name) and on attachment lists in forms. Portal customers preview attachments from their quotation or order page, with the standard Odoo access rights.
SEARCH, TABS, PRINT
Type a word to highlight every match and jump between them, switch sheets with tabs, read speaker notes under each slide, print what is on screen, close with Escape.
SAFE BY DESIGN
Documents are untrusted: text is escaped, pictures are embedded only when they really are PNG / JPEG / GIF / BMP / WEBP, links are not followed, remote pictures are never loaded, and the preview page runs with a strict Content-Security-Policy that blocks every network request and every foreign script.
FAST WITH A CACHE
Each file is rendered once and served from the cache until it changes. Unused previews are purged after the number of days you choose; one button clears the cache.
LIMITS YOU CONTROL
Maximum file size, rows and columns per sheet, sheets per workbook and slides per presentation. Huge spreadsheets are read row by row and stop at the limit, so a million-row file stays quick.
REAL THUMBNAILS
OpenDocument files, and Office files saved with a preview picture, show their first page on the attachment card instead of a generic icon.

How it compares

Attachment preview modules on the Odoo Apps Store vs this module.

FeatureTypical modulesThis module
Word, Excel and PowerPoint previewOften download onlyYes, in the viewer
OpenDocument (.odt, .ods, .odp), CSV, RTF, e-mail, ZIPRareYes
Works without LibreOffice on the serverRareYes, pure Python
Old .doc / .ppt filesRareYes, when LibreOffice is installed
Preview in the customer portalRareYes
Preview on file fields and attachment listsSome, with a widget to addYes, no view to change
Search inside the file, sheet tabs, speaker notesRareYes
Untrusted content sanitised, no remote requestsNot statedYes, tested
Cache, size limits, per-format switchesRareYes
PriceTypically more$9 one-time

How it works

1
Install the module
Nothing else to install. LibreOffice is optional.
2
Click an attachment
In any chatter, file field or attachment list. Office files now open in the Odoo viewer.
3
Read, search, switch sheets
Use the search box, the sheet tabs, Print, or the Download button of the viewer.
4
Tune it if you want
Settings -> General Settings -> Office Attachment Preview: formats, limits, engine, cache, portal.

Screenshots

Office files in the chatter
A customer sent Word, Excel, PowerPoint and OpenDocument files; the OpenDocument cards show their real first page.
Office files in the chatter
Word preview (.docx)
A quotation with logo, headings, bullet list and item table, read without downloading.
Word preview (.docx)
Excel preview (.xlsx) with sheet tabs
Merged title, coloured header, number, percent and date formats, one tab per worksheet.
Excel preview (.xlsx) with sheet tabs
PowerPoint preview (.pptx)
Each slide at its real layout, with pictures and the speaker notes underneath.
PowerPoint preview (.pptx)
Search inside the file
Type a word: every match is highlighted and the arrows jump between them, across sheets.
Search inside the file
OpenDocument spreadsheet (.ods)
The same price list saved as OpenDocument shows the formatted values the office suite displays.
OpenDocument spreadsheet (.ods)
CSV preview
An order export opens as a table with the header row; the delimiter and encoding are detected.
CSV preview
Preview in the customer portal
The customer opens the price list attached to the quotation from the portal, with standard access rights.
Preview in the customer portal
Binary field preview
An eye button next to a file field opens the same viewer, here for an OpenDocument text.
Binary field preview
Settings
Formats on or off, size limits, rendering engine with a LibreOffice check, display options and the cache.
Settings

Frequently asked questions

Do I need LibreOffice or Microsoft Office on the server?
No. Word, Excel, PowerPoint, OpenDocument, CSV, RTF, e-mail and ZIP files are rendered by a pure-Python engine that uses only libraries Odoo itself requires. LibreOffice is used only if it is installed: for old .doc and .ppt files, and for exact page layout as PDF if you choose that engine in the settings.
Are my files sent anywhere?
No. The file is read on your Odoo server and the preview is served from it. No cloud viewer, no public link. The preview page itself is not allowed to load anything from the internet.
Can a user see a file he could not download before?
No. The preview uses the same access rules as the download link: record rules, portal access and access tokens. A portal user only previews attachments he can already open, and portal preview can be switched off.
Does it look exactly like Word or Excel?
It shows the content faithfully - text, formatting, lists, tables, pictures, sheets and slides - but it is a reading view, not a page-exact rendering. Excel shows the values saved in the file (formulas are not recalculated). For page-exact output, install LibreOffice and pick the exact layout engine.
What about very large files?
Above the size limit you set the viewer shows a short message and the Download button. Long sheets, many sheets and long decks are cut at the limits you choose, and the preview says so.
Which apps does it need?
Only Discuss (mail), which every Odoo has. Odoo 19 Community or Enterprise. Uninstalling removes the settings and the cached previews.

Requirements

Odoo 19 Community or Enterprise. No extra Python library, no external service. LibreOffice optional.
Stop downloading every attachment
Questions before buying, or a format you need? Write to us, we answer within one working day.
Buy Now - $9Hire Us for Odoo Work
EMAIL
modvantaapps@gmail.com
AUTHOR
Modvanta
INCLUDED
Free bug fixes and setup help
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 3070
Technical Name mdv_office_attachment_preview
LicenseOPL-1
Websitehttps://modvantaapps.tech/odoo-apps/office-attachment-preview/
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

  • 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.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with