Odoo

Prev Next

Odoo is an open-source enterprise resource planning (ERP) software suite that encompasses various business management applications. It offers modules for functions like accounting, inventory management, sales, CRM, human resources, and more, providing a comprehensive and customizable solution for businesses to streamline their operations and improve efficiency.

Authorize Connection to Odoo

  1. On the Authorizers page, click on Authorize New Service and select Odoo.
  2. Fill in the following fields:
    1. Host: Your database's URL, it will be in the yourdatabase1.odoo.com format. Please make sure you DON'T include the https:// part.
    2. Username: Email address used to log into your Odoo account.
    3. Password: Password associated with your email to log into your Odoo account. In case you don't have a password set up, please refer to Odoo's official documentation.
    4. Database: Name of your database, same as used in the Host URL, in this example, it will be yourdatabase1.
  3. Rename your authorizer for easier identification and click on Save.
DATADDO TIP

To retrieve data from Odoo, make sure you are on a custom plan that includes access to the Odoo API.

Data Coverage

Odoo uses a single flexible dataset. You choose the fields to extract when you create the source; Odoo may also expose custom fields from your account.

The available fields depend on your account and the selected dataset.

How Data Extraction Works

Every dataset for this connector uses a relative date range: the source reads a relative window (for example "last 7 days"), and that window slides forward with the current date. Every run re-reads the window, so a range of "1 day ago" always pulls the previous day (D-1). Each run replaces the window's data rather than adding older history. To load records from before the window, run a full data re-sync with a wider range. See Data Backfilling.

Set the relative date range when you create the source.

Metadata Columns

When you create a source, you can add these Dataddo metadata columns to the extracted data:

  • dataddo_hash - a fingerprint built from each record's key fields. It works as a natural key, so it is ideal for upserts (updating existing rows in your destination instead of creating duplicates).
  • dataddo_extraction_timestamp - the date and time the row was extracted. Use it to track how records change over time, for example to build slowly changing dimensions.

How to Create an Odoo Data Source

Creating a data source takes you through five steps, shown in the progress bar at the top of the wizard. Each step is explained below.

1. Pick the connector

On the Sources page, click Create Source, then select the connector from the catalog. Use the search bar or the category tabs if you do not see it right away. You can rename the source at any time using the pencil icon next to its name.

2. Choose the account

This step selects what Dataddo reads from.

  • Authorizer: Select an account you have already authorized from the drop-down. If you have none yet, choose Add new account and follow the prompts. If no authorizer is selected, Dataddo asks you to authorize before you continue.
  • What to extract from: Select the exact entity you want to pull data from. Depending on the service this may be labelled an account, property, profile, workspace, or similar, sometimes with a sub-level to choose as well.
  • Multiple accounts: To pull the same data from every entity you can access, turn on Automatically collect data from all .... This is multi-account extraction. Leave it off to choose them by hand.

3. Build the data model

Choose exactly what to extract. What you can pick depends on the connector, and the wizard may group the fields differently for each one.

  • Values: the measures you want, often called metrics, such as sessions, clicks, or revenue.
  • Breakdowns: the fields you group or split those values by, often called dimensions or attributes, such as date, country, or campaign.
  • Context metadata (when available): identifier fields that Dataddo derives from your selection, such as the account or property ID. They let you tell rows apart when you combine several sources.

Some connectors limit which fields can be queried together; the wizard flags this where it applies. Click Test on Sample Data at any point to preview the result before you continue.

4. Add metadata columns (optional)

Two optional columns help your destination handle the data.

  • Dataddo Hash (Include Row Hash): a fingerprint built from the columns you pick. It works as a natural key, so your destination can deduplicate rows and run upserts instead of creating duplicates. Turn it on, then select the columns that uniquely identify a row.
  • Dataddo Extraction Timestamp: the time each row was extracted. Use it to watermark the data, for example to build slowly changing dimensions or to track when a value last changed.

5. Set the schedule

Decide how often Dataddo runs the extraction.

  • Frequency: how often the pipeline runs, for example daily. Click Show advanced settings to also set the exact hour and minute (UTC).
  • Date range: the relative window each run extracts, for example "Yesterday". The window moves forward on every run.
  • Historical data: a new source starts from the current window. To load older data, run a full data re-sync after the source is created.
  • Allow Empty Data Extractions: when on, a run that returns no data records zero rows instead of failing. Turn it on if the source can legitimately have periods with no data.

Click Save. Your data source is ready.

Advanced Configuration

Advanced Filtering

The Odoo connector allows two types of advanced filtering:

  • Date Range Field: Allows users to filter data by a selected date field (e.g., Created On or Last Updated On).
  • Custom Filter: Enables users to apply advanced filtering conditions for special data loading cases, giving advanced users greater flexibility to include data from more than one company (operation).
    • By default, the currently selected company's data gets extracted. If you need data from more companies, use the Custom filter field on the Models and columns step.
    • This field enables users to apply conditions for special data loading cases, giving advanced users greater flexibility to e.g. include data from more than one company (operation).
    • For example: The filter [['id', '=', 1]] will return the record(s) where the company ID field is equal to 1. For more companies,

Troubleshooting

Data Preview Unavailable

No data preview when you click on Test Data might be caused by an issue with your source configuration. The most common causes are:

  • Date range: Try a smaller date range. You can load the rest of your data afterward using manual data load.
  • Insufficient permissions: Please make sure your authorized account has at least admin-level permissions.
  • Invalid metrics, attributes, or breakdowns: You may not have any data for the selected metrics, attributes, or breakdowns.
  • Incompatible combination of metrics, attributes, or breakdowns: Your selected combination cannot be queried together. Please refer to the service's documentation to view a full list of metrics that can be included in the same data source.

Data Duplication

A duplicated data issue may be caused by a bug in Odoo’s pagination. This issue can be solved by loading additional values which the Solutions Team can assist you with.

If you encounter this issue, please use the date range field on the Models and columns source creation step to filter your data. We recommend using Last Updated On, which will be set as the default once the frontend team deploys a bug fix.

Error During Source Creation

Make sure you are inputting the host name correctly when you are authorizing the connection to Odoo. Your database's URL it will be in the yourdatabase1.odoo.com format. Please note that you are NOT supposed to include https:// here.

Related Articles

Now that you have successfully created a data source, see how you can connect your data to a dashboarding app or a data storage.

Sending Data to Dashboarding Apps

Sending Data to Data Storages

Other Resources