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. Productivity
  3. Odoo Databricks Connector | Databricks Integration, Odoo to Delta Lake Export v 19.0
  4. Sales Conditions FAQ

Odoo Databricks Connector | Databricks Integration, Odoo to Delta Lake Export

by Modvanta https://modvantaapps.tech
Odoo

$ 98.70

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
Databricks Connector for Odoo 19 - Odoo models to Delta tables through a SQL warehouse

Odoo 19 and Databricks SQL

Your Odoo data in Delta tables, without writing an ETL job.

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.

Buy Now - $99Ask a question
Odoo 19Databricks SQL warehouseDelta LakeUnity CatalogMERGE on idService principal OAuthPersonal access tokenPer-export scheduleTyped parametersMulti-company

What it does

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

Finance and operations teams that report on Odoo data in Databricks SQL dashboards or notebooks
Data teams that want Odoo sales, contacts and products next to the rest of their lakehouse
Companies on Azure Databricks, Databricks on AWS or Databricks on Google Cloud

Key features

Screenshots from an Odoo 19 test database. The Databricks answers come from a test stand-in shaped like the Databricks API documentation, not from a live workspace.

All exports on one page

Model, target table, mode, schedule, the time of the last run, rows sent and the result of each export.

All exports on one page

Pick the model, the fields and the filter

An export of res.partner with a filter on customers, incremental mode, Remove Deleted Records and a run every hour. id, write_date and odoo_synced_at are always added.

Fields that are not stored or may hold a secret cannot be picked
Technical models such as settings and users are refused
Pick the model, the fields and the filter

See the table before it is created

The CREATE TABLE IF NOT EXISTS statement the module will run, with every column and its type. Create or Update Table runs it and adds columns for new fields.

See the table before it is created

Every run of an export

Full refresh of the product table, every day. When a run fails, the reason from the warehouse is kept, for example a missing schema, and the next run starts again.

Every run of an export

Sync log across exports

Rows sent, rows removed and statements per run, with totals. One failing export never stops the others.

Sync log across exports

The workspace

Workspace URL, SQL warehouse, sign-in method, default catalog and schema, the user whose rights decide what is read, and how many rows go in one statement.

Only https addresses on the Databricks workspace domains are accepted
Secrets are visible to Odoo administrators only
The workspace

Every API call

Operation, endpoint, HTTP status and duration of each call, with the request and answer. Tokens and secrets are masked.

Every API call

How it works

1In Databricks create a service principal with an OAuth secret, or a personal access token, and give it CAN USE on a SQL warehouse and write rights on the target schema.
2In Odoo give the Databricks Manager group to the person who sets it up, then Databricks, Configuration, Workspaces: URL, warehouse ID, sign-in, Test Connection.
3Export pick the model, the fields and the table, then press Create or Update Table.
4Sync Now check the row count in the log, then tick Run on a Schedule.

Settings

AuthenticationService principal (OAuth client ID and secret) or personal access token
Default Catalog and SchemaUsed when an export does not name its own
Read Odoo AsExports read records with this user's access rights and record rules
Rows per Statement1 to 1000 rows in one INSERT or MERGE (fewer for wide tables)
Wait for a StatementA statement still running after this many seconds is cancelled
ModeIncremental (MERGE changed records) or Full refresh (TRUNCATE, then INSERT)
Remove Deleted RecordsIncremental: rows of deleted or filtered-out records are deleted
Add Names of Linked RecordsA <field>_name text column next to each many2one id
Run on a ScheduleEvery N minutes (15 or more), hours or days, per export

FAQ

Can Databricks change anything in Odoo?

No. The module only sends statements to your SQL warehouse and reads their result. There is no route into Odoo.

Are values pasted into the SQL text?

No. Every value is a typed named parameter of the Statement Execution API. Table and column names may only use letters, digits and underscores.

Which clouds work?

Databricks on AWS (cloud.databricks.com), Azure Databricks (azuredatabricks.net) and Databricks on Google Cloud (gcp.databricks.com). You need a SQL warehouse; serverless works.

Is the full refresh atomic?

No. It empties the table and then inserts in batches, so a reader can see a partly filled table during the run. Use incremental mode for tables people read all day.

How big can an export be?

Rows go in batches of up to 1000 rows and 2000 values per statement. A first run of 100,000 contacts is many statements, so start it outside office hours.

What happens to a field I remove from an export?

Its column stays in the table with its old values. Drop it in Databricks if you no longer want it.

Compatibility and support

Odoo 19 Community and Enterprise. Depends only on Discuss (mail). Needs a Databricks workspace with a SQL warehouse; the module makes HTTPS calls to your workspace only.

Questions before or after you buy: modvantaapps@gmail.com. We answer setup questions and fix bugs.

Buy Now - $99
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 1136
Technical Name mdv_databricks_connector
LicenseOPL-1
Websitehttps://modvantaapps.tech
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