Skip to main content

External Database Sources

Project description

License: LGPL-3

External Database Sources

This module allows you to define connections to foreign databases using ODBC, Oracle Client or SQLAlchemy.


No installation required.


Database sources can be configured in Settings > Configuration -> Data sources.

Depending on the database, you need:

  • to install unixodbc and python-pyodbc packages to use ODBC connections.

  • to install FreeTDS driver (tdsodbc package) and configure it through ODBC toconnect to Microsoft SQL Server.

  • to install and configure Oracle Instant Client and cx_Oracle python library to connect to Oracle.


To use this module:

  • Go to Settings > Database Structure > Database Sources

  • Click on Create to enter the following information:

  • Datasource name

  • Pasword

  • Connector: Choose the database to which you want to connect

  • Connection string : Specify how to connect to database

Try me on Runbot

Known issues / Roadmap

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback here.




Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page