| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 794 |
| Technical Name |
no_office_preview |
| License | LGPL-3 |
| Website | https://www.oudayet.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 794 |
| Technical Name |
no_office_preview |
| License | LGPL-3 |
| Website | https://www.oudayet.com |
Office Preview.
Inline DOCX, XLSX, XLS, ODS, CSV and Markdown — rendered in the browser.
No cloud round-trip. No extra service to install. No bytes leaving your server.
Odoo 19 OFFLINE $29Stop downloading attachments to read them
Native Odoo 19 previews images, PDFs, plain text, and video. Everything else — the DOCX a customer sent, the XLSX accountant just attached, the CSV export sitting in chatter — falls back to a download button. Users leave Odoo, lose context, and forget to come back.
Without this module
Click attachment → download → switch to Word/Excel → alt-tab back → lose your place → forget which record you were on.
With this module
Click attachment → instant inline render in the existing modal → close → back where you were. One click, zero context loss.
See it in action
Real chatter, real attachments, real renders.
DOCX inline. Headings, tables, formatting rendered straight in the modal — no download, no Word required.
XLSX with sheet tabs. Multi-sheet workbooks switch via the tab bar. Formulas show their computed values.
CSV as a real table. First row treated as headers, RFC-4180 quoting respected. No more squinting at raw text dumps.
Markdown with full CommonMark. Headings, lists, fenced code, tables, blockquotes — lazy-loaded on first click so it costs nothing if you never open one.
Per-format toggles. Disable any format your team should not see inline. Adjust the max-preview size from the same panel.
What it previews
DOCX, DOCM (macro-enabled), DOTX and DOTM (templates) — the OOXML Word family. Headings, paragraphs, tables, links, and basic formatting render as clean inline HTML inside the existing Odoo modal.
XLSX, XLSM, XLSB (modern Excel), XLS (legacy 97-2003) and ODS (OpenDocument). Multi-sheet tabs, merged cells, dates, and computed formulas all preserved.
Renders as a real styled table, not raw text. First row treated as headers; RFC-4180 quoting (commas, quotes, embedded newlines) handled correctly.
Full CommonMark / GitHub-flavoured Markdown: headings, bold, italic, nested lists, tables, fenced code, blockquotes, autolinks. Raw HTML stripped for safety.
Why “100% offline” matters
HIPAA, GDPR, banking, defence — document content is not allowed to leave your network. Cloud-based preview services route your bytes through external servers. We do not.
Industrial sites, ships, military bases — many Odoo instances run with no outbound internet. Modules that depend on an external preview service break here. Office Preview just works.
A salary spreadsheet, a draft contract, an internal memo — some attachments should not even briefly cross an external server. With Office Preview the bytes never leave your Odoo instance.
How it works
1. Click an Office attachment in any chatter, message thread, or attachment list.
2. The existing Odoo modal opens — same look, same behaviour as for images and PDFs.
3. The document content renders inline directly in the browser, using the standard attachment URL.
4. Close the modal and you are back where you were. No download, no app switch, no bytes sent off the server.
Three ways to preview Office files in Odoo
Inline Office preview is a common need. The market roughly splits into three approaches — each with its own trade-offs.
| Approach | Offline | Setup | Data exposure |
|---|---|---|---|
| In-browser rendering (this module) | yes | install, done | stays in browser |
| Cloud preview integrations | no | none | sent to external host |
| Server-side conversion modules | on-prem only | extra service required | stays on your host |
For PPTX, ODT, ODP, legacy DOC, RTF (which no browser library handles cleanly) we offer a companion Pro module that adds the third approach — without forcing you onto it.
No bytes leave your server.
The attachment is fetched from Odoo’s standard internal route and rendered in the user’s own browser. We do not add a controller, do not phone home, do not log content, do not send anything to any external endpoint. The full source is included in the package — audit it before installing.
What this module does NOT do
Word-processor and presentation formats outside of DOCX need a server-side renderer. See Office Preview Pro ($49) for the full set.
Read-only preview. Download the attachment to edit in Word / Excel / LibreOffice.
DOCX rendering is faithful for business documents but advanced Word features may render with partial fidelity.
Odoo 19 already previews PDFs natively via bundled pdf.js — we leave that path untouched.
FAQ
No. Rendering happens entirely in the user’s browser. Document bytes stay on your Odoo server and the user’s machine.
No. The heavier components are lazy-loaded only on first click of the relevant format. If a user never opens, say, an XLSX, the spreadsheet code is never downloaded.
A configurable size limit (default 10 MB) keeps the browser responsive. Files above the limit show a friendly “too large to preview” pane with a Download button instead. Adjust the limit under Settings → Office Preview.
We only intercept formats native Odoo does not already render. Images, PDFs, video, plain text all stay on the native path. Conflicts with other inline-preview modules are unlikely but worth testing if you stack two.
From the companion Office Preview Pro module ($49), which extends coverage to PowerPoint, OpenDocument text/presentation, and legacy Word using a server-side renderer.
At a glance
| Odoo version | 19.0 — Community and Enterprise |
| License | LGPL-3 |
| External services | none — no cloud, no extra container, no internet required |
| Database impact | none — no new fields, no migrations |
| Setup | install the module — that is the full procedure |
Found a bug?
Reach out via the Odoo App Store contact form — bug reports get a fix in the next maintenance release.
Office Preview — $29 — Odoo 19
© Naim OUDAYET — LGPL-3
Please log in to comment on this module