Odoo API SQL Driver
Invantive SQL is the fastest, easiest and most reliable way to exchange data with the Odoo API.
Use the "Search" option in the left menu to search for a specific term such as the table or column description. When you already know the term, please use the "Index" option. When you can't find the information needed, please click on the Chat button at the bottom or place your question in the user community. Invantive Support or other users will try to help you.
Odoo is an online accounting and ERP package used across the globe. Odoo serves over 1 million companies.
The Odoo driver covers 876 tables and 26381 columns.
Odoo API Clients
Invantive SQL is available on many user interfaces ("clients" in traditional server-client paradigma). All Invantive SQL statements can be exchanged with a close to 100% compatibility across all clients and operating systems (Windows, MacOS, Linux, iOS, Android).
The clients include Microsoft Excel, Microsoft Power BI, Microsoft Power Query, Microsoft Word and Microsoft Outlook. Web-based clients include Invantive Cloud, Invantive Bridge Online as OData proxy, Invantive App Online for interactive apps, Online SQL Editor for query execution and Invantive Data Access Point as extended proxy.
For technical users there are command-line editions of Invantive Data Hub running on iOS, Android, Windows, MacOS and Linux. Invantive Data Hub is also often used for enterprise server applications such as ETL. High-volume replication of data taken from the Odoo API into traditional databases such as SQL Server (on-premises and Azure), MySQL, PostgreSQL and Oracle is possible using Invantive Data Replicator. Invantive Data Replicator automatically creates and maintains Odoo datawarehouses, possibly in combination with data from over 75 other (cloud) platforms. Invantive Data Replicator supports data volumes up to over 1 TB and over 5.000 companies. The on-premise edition of Invantive Bridge offers an Odoo ADO.net provider.
Monitor API Calls
When a query or DML-statement has been executed on Invantive SQL a developer can evaluate the actual calls made to the Odoo API using a query on sessionios@DataDictionary. As an alternative, extensive request and response logging can be enabled by setting log-native-calls-to-disk to true. In the %USERPROFILE%\Invantive\NativeLog folder Invantive SQL will create log files per Odoo API request and response.
The SQL driver for Odoo does not support partitioning. Define one data container in a database for each company in Odoo to enable parallel access for data from multiple companies.
An introduction into the concepts of Invantive SQL such as databases, data containers and partitioning can be found in the Invantive SQL grammar.
The configuration can be changed using various attributes from the database definition, on log on and during use. A full list of configuration options is listed in the driver attributes.
The catalog name is used to compose the full qualified name of an object like a table or view. The schema name is used to compose the full qualified name of an object like a table or view. On Odoo the comparison of two texts is case sensitive by default.
Changes and bug fixes on the Odoo SQL driver can be found in the release notes. There is currently no specific section on the Invantive forums for Odoo.Please reach out to other users of Odoo by leaving a question or contact request.
Driver code for use in settings.xml: Odoo
Recommended alias: odo
Driver code for use in settings.xml
01-03-2023 15:29 Version 22.1.135-BETA+3826