Excel Connector — Export Odoo Data to Excel & LibreOffice
by Steven Marp https://apps.odoo.com/apps/browse?repo_maintainer_id=512936$ 39.00
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 433 |
| Technical Name |
sm_excel_connector |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/browse?repo_maintainer_id=512936 |
| Versions | 14.0 15.0 16.0 17.0 18.0 19.0 |
Excel Connector
Effortlessly sync Odoo data to Microsoft Excel & LibreOffice Calc via secure URL or ODC file
Key Features
1 Reusable Export TemplatesCreate custom export templates for any Odoo model — contacts, invoices, sales orders, products, or anything else. Pick the fields you need, arrange them in order, and save. No coding, no API setup, no external tools. |
Create templates for any model |
|
Export only what you need |
2 Smart Domain FiltersApply domain filters to export exactly the data you need. Only confirmed sales? Only invoices from this month? Only active customers? Use Odoo’s built-in domain builder — no coding required. |
3 Secure Access TokensEach template gets a unique access token. Only users with the token can fetch data. Regenerate the token at any time to instantly disconnect all connected spreadsheets. Your Odoo data stays safe. |
Token-based security for every template |
|
URL for LibreOffice · ODC for Excel |
4 URL & ODC File ExportCopy the shareable URL into LibreOffice Calc (Sheet → Link to External Data) for auto-refresh. Or download an ODC file to connect directly from Microsoft Excel. Both methods work without any API setup. |
5 Access History & IP TrackingMonitor who is fetching your data. See IP addresses, first access, last used, frequency and times used. Flush history or regenerate the token if you spot unauthorized access. |
Full audit trail of every access |
|
Draft → Published → Expired |
6 Template LifecycleTemplates follow a clear lifecycle: Draft (configure freely), Published (URL is active, data can be fetched), and Expired (access blocked). Manage the state with one click from the form view header. |
How It Works
|
1
Create TemplatePick a model (Contacts, Invoices, Products…), select the fields to export, and add domain filters. |
2
PublishClick Publish to generate a secure access token and shareable URL automatically. |
3
ConnectPaste the URL in LibreOffice Calc or download the ODC file for MS Excel. |
4
Auto-RefreshData syncs automatically at whatever interval you set. Always fresh, always accurate. |
Highlighted Features
Export any model · Select specific fields · Domain filters · Secure access tokens · Shareable URLs · ODC file download · Access history & IP tracking · Template lifecycle (Draft / Published / Expired) · LibreOffice auto-refresh · Excel auto-refresh · User & Manager roles · Multi-company support
Excel Connector — User Guide
Table of Contents
1. Overview
The Excel Connector module lets you export data from any Odoo model directly to Microsoft Excel or LibreOffice Calc — without any API, middleware, or coding.
Create reusable export templates, pick the fields you need, apply domain filters, and publish. Odoo generates a secure URL that Excel or LibreOffice can fetch automatically at a set interval.
2. Installation
- Drop the sm_excel_connector folder in your Odoo addons path.
- Restart Odoo and update the apps list.
- Install Excel Connector from the Apps menu.
- The admin user is automatically added to the Excel Connector Manager group.
3. Quick Start
Step 1 — Create a Template
Go to Excel Connector → Excel Templates and click New.
- Template Name — give it a descriptive name (e.g. "Active Company Contacts").
- Model — pick any Odoo model (Contact, Invoice, Sales Order, Product, …).
- Responsible — defaults to current user.
Step 2 — Add Fields
In the Fields tab, click Add a line and pick the fields you want to export. Drag the handle (≡) to reorder. You can set a Custom Label that overrides the default field name in the exported table header.
Step 3 — Apply Filters (optional)
Switch to the Domain Filter tab. Use Odoo's domain builder to filter which records to export. For example:
- Is Company = True — only companies
- State = Confirmed — only confirmed sales orders
- Create Date >= 2026-01-01 — only recent records
Step 4 — Publish
Click the Publish button in the header. This:
- Generates a unique access token
- Creates a shareable URL
The template moves to Published state. The URL is now live.
Step 5 — Connect from Excel / LibreOffice
LibreOffice Calc:
- Open LibreOffice Calc.
- Go to Sheet → Link to External Data.
- Paste the Export URL from the template.
- Select the table that appears (e.g. HTML_1).
- Check Update every and set the interval (e.g. 60 seconds).
- Click OK — data fills in immediately.
Microsoft Excel:
- In Odoo, click Download ODC File on the template.
- Double-click the downloaded .odc file.
- Excel opens and imports the data automatically.
4. Access & Security
Access Tokens
Each template gets a cryptographically random 32-byte token. Only requests with the correct token can fetch data.
- Click Generate New Token to create a new token. This immediately disconnects all spreadsheets using the old token.
Access History
Every time a spreadsheet fetches data, the module logs:
- IP Address — of the requesting client
- User Agent — browser / application string
- First Access — when this IP first connected
- Last Used — most recent fetch
- Frequency (sec) — seconds between the last two fetches
- Times Used — total number of fetches
Click Flush History to delete all history records.
Wrong Token / Expired Template
- A request with a wrong or missing token returns HTTP 403.
- A request to an Expired template also returns HTTP 403.
5. Template Lifecycle
Templates have three states:
- Draft — full editing, URL is not active.
- Published — URL is live, data can be fetched. Click Expire to deactivate.
- Expired — URL returns 403. Click Reset to Draft to re-enable editing.
6. Security Groups
The module creates two groups:
- Excel Connector User — can create, edit and view own templates.
- Excel Connector Manager — can view, edit and delete all templates; full access to history records.
7. Multi-Company
Each template has a Company field. In a multi-company environment, users only see templates belonging to their current company (standard Odoo record rules apply).
8. Compatibility
- Tested on Odoo 14.0 Community & Enterprise.
- No external Python dependencies — uses only the standard library.
- Works with LibreOffice Calc and Microsoft Excel.
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