Odoo Databricks Connector
Your Odoo data in Delta tables, without writing an ETL job.
What it does
Pick an Odoo model and the fields you want. The module creates the Delta table in your Unity Catalog schema and keeps it current through the Statement Execution API of a SQL warehouse: changed records are merged on their Odoo id, deleted ones are removed. Databricks never writes back to Odoo.
You connect a workspace with its URL, the ID of a SQL warehouse and either a service principal (OAuth machine-to-machine, the method Databricks recommends for automation) or a personal access token. Test Connection reads the warehouse and runs SELECT 1, so you know the warehouse answers before anything else happens.
An export is one Odoo model going to one Delta table: Customers to main.odoo.odoo_customers, Sales orders to main.odoo.odoo_sale_orders. You choose the fields, an optional filter such as customer_rank > 0, and the table. The module writes the CREATE TABLE statement for you and shows it before the first run. Text, numbers, money, dates, yes/no fields and linked records are mapped to STRING, BIGINT, DOUBLE, DECIMAL(20,6), DATE, TIMESTAMP and BOOLEAN columns.
Incremental exports send only the records written since the last run, in one MERGE INTO statement per batch, so a record sent twice is updated, never duplicated. A sales order confirmed this morning shows up in the table at the next run with its new state and total. Records deleted in Odoo, or that no longer match the filter, are deleted from the table too. Full refresh empties the table and sends everything, which suits small reference tables.
Records are read with the access rights and record rules of a user you pick, so a salesperson-level user exports only what that user may see. Add a field later and the next run adds the column with ALTER TABLE. Each run is logged with rows sent, rows removed and the number of statements; each API call is logged without the token.
Who it is for
- Data teams building a lakehouse on Databricks. Your analysts already work in Databricks and want sales, stock and accounting data from Odoo next to everything else. Each export writes one Odoo model into a Delta table in Unity Catalog through your SQL warehouse.
- Companies that want fresh numbers without a nightly dump. Incremental runs only send records changed since the last run and MERGE them on the Odoo id. Records deleted in Odoo, or no longer matching the export filter, are removed from the table as well.
- IT teams careful about what leaves Odoo. Exports read records with the access rights and record rules of one user you pick, so the table holds only what that user may see. Password, secret, token and similar fields cannot be picked, and system models are blocked.
- Groups running several Odoo companies. Workspaces, exports and logs belong to a company and are filtered by record rules, so each company can push to its own catalog and schema.
Setting it up
- In Databricks, start a SQL warehouse and copy its ID from Connection details (the part of the HTTP path after /sql/1.0/warehouses/). Create a service principal with an OAuth secret, or a personal access token.
- Make sure the target schema exists in Unity Catalog and that the principal may create and write tables in it.
- In Odoo, open Databricks > Configuration > Workspaces, create a workspace and enter the Workspace URL, SQL Warehouse ID, authentication type and credentials.
- Set the default catalog and schema and choose the Read Odoo As user, then press Test Connection.
- Open Databricks > Exports, create an export, pick the Odoo model and its fields, an optional filter and the Delta table name, and choose incremental or full refresh.
- Press Create or Update Table, then Sync Now. Tick Run on a Schedule with an interval once the first run looks right in Databricks > Sync Log.
Odoo Databricks Connector: questions
Does it write anything back into Odoo?
No. Data only goes from Odoo to Databricks, and nothing in the workspace can change Odoo records.
Which field types can I export?
Stored text, selection, integer, float, monetary, boolean, date, datetime, many2one and many2many fields. Binary fields such as attachments and images are not sent, and many2one columns can carry the linked record's name next to its id.
What happens when I add a field to an export later?
The table is created with CREATE TABLE IF NOT EXISTS, and new columns are added with ALTER TABLE on the next run. Use Send Everything Next Time if old rows should also get values for the new column.
Is every Odoo model allowed?
Most business models are, but technical models starting with ir., base., bus., res.config and a few others, plus res.users and payment tokens, are blocked on purpose.
Do I need Enterprise, or a Databricks partner connector?
Neither. The module depends only on base and mail and talks directly to the Databricks SQL Statement Execution API, so Odoo Community works. You do need a Databricks workspace with a SQL warehouse.
How often do scheduled exports run?
A scheduled action checks every 15 minutes for exports that are due, and each export has its own interval in minutes, hours or days. Every run and every API call is logged with its result.
Related apps

Odoo ActiveCampaign Connector
Two-way ActiveCampaign integration: contacts, list consent and tags, CRM deals, sales orders and abandoned carts, site tracking and events, with campaign and automation statistics back in Odoo. Every call goes through a queue with retries and an API log.
Connectors & integrations
Odoo BigQuery Connector
Load your Odoo data into Google BigQuery - incremental, scheduled, and ready for Looker Studio, Power BI or Tableau
Connectors & integrations
Odoo DocuSign Connector
Send Odoo documents for signature with DocuSign - and get the signed PDF back on the record
Connectors & integrations
Odoo Excel Connector and Power BI Connector
Odoo Excel Connector and Power BI Connector: live Odoo data in Excel, Power BI and other BI tools
Connectors & integrations