Office Preview Lite for Odoo

Free: open Word, Excel and CSV attachments right in Odoo, without downloading them.

License
LGPL-3
Technical name
office_preview_lite_kvs
Word document in the Odoo viewer

Office Preview Lite makes Word, Excel and CSV attachments open in the Odoo viewer like PDF and images, for free. Click a file in the chatter of any record or in Discuss and read it on the spot: documents with headings, lists, tables and pictures, workbooks with a tab for every sheet, CSV exports as a table. Your own Odoo server converts the files, so nothing is sent to an online viewer.

Features

Word documents

Headings, numbered and bulleted lists, bold and colored text, tables with merged cells, and pictures.

Excel workbooks

Every visible sheet as a tab, values as Excel shows them, merged cells, column widths, colors and borders.

CSV as a table

Comma, semicolon or tab separated, in UTF-8, Windows-1251 or Latin-1: the file opens as a grid.

Nothing leaves your server

Files are converted to HTML by your Odoo server. No online viewer is called, so it works on-premise and behind a firewall.

Safe to open

The preview is a static page: no macros, scripts or outside requests run, and only users who may read the attachment can see it.

How to set it up

  1. Install Office Preview Lite (office_preview_lite_kvs); it needs only Discuss.
  2. Open any record with a Word, Excel or CSV file in the chatter, or a Discuss message with one, and click the file.
  3. On Odoo 17, Excel preview needs the Python library openpyxl on the server (pip install openpyxl); Odoo 18 and later already list it in their requirements.

Questions and answers

Are my files sent to Microsoft or Google?

No. Your Odoo server converts the file to HTML itself. No online viewer or other outside service is called.

Can I open PowerPoint files too?

PowerPoint, old Excel 97-2003 (xls) and OpenDocument (odt, ods) files come with Office Preview Pro.

Which Odoo editions does it work with?

Odoo 17, 18, 19 and 20, Community and Enterprise, on Odoo.sh or on your own server.

Custom development

We build any Odoo module to order

An integration with your bank or delivery service, a report, a workflow, a portal for your customers: describe the task and we will propose a solution, a price and a deadline.

Describe your task