External Database Sources
by Daniel Reis https://github.com/OCA/server-backend , LasLabs https://github.com/OCA/server-backend , Odoo Community Association (OCA) https://github.com/OCA/server-backend
Odoo
Availability |
Odoo Online
Odoo.sh
On Premise
|
Technical Name |
base_external_dbsource |
License | LGPL-3 |
Website | https://github.com/OCA/server-tools |
Versions | 7.0 9.0 10.0 11.0 12.0 13.0 14.0 15.0 16.0 |
External Database Sources
This module allows you to define connections to foreign databases using ODBC, Firebird, Oracle Client or SQLAlchemy.
Installation
No installation required.
Configuration
Database sources can be configured in Settings > Configuration -> Data sources.
Usage
To use this module:
- Go to Settings > Database Structure > Database Sources
- Click on Create to enter the following information:
- Data source name
- Password
- Connector: Choose the database to which you want to connect
- Connection string: Specify how to connect to database
To extend this module:
Known issues / Roadmap
- Find a way to remove or default the CA certs dir
- Add concept of multiple connection strings for one source (multiple nodes)
- Add a ConnectionEnvironment that allows for the reuse of connections
- Message box should be displayed instead of error in connection_test
- Remove old api compatibility layers (v11)
- Instead of returning list of results, we should return iterators. This will support larger datasets in a more efficient manner.
- Implement better CRUD handling
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.
Credits
Contributors
- Daniel Reis <dreis.pt@hotmail.com>
- Maxime Chambreuil <maxime.chambreuil@savoirfairelinux.com>
- Gervais Naoussi <gervaisnaoussi@gmail.com>
- Dave Lasley <dave@laslabs.com>
Maintainer
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 http://odoo-community.org.
Please log in to comment on this module