Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
How i can get data from external database and use it for my module. Example i have db with table product. How to get all data from that table and put it in openerp module. How to connect on that database and get data? All examples are welcome.
Well, there are many ways to do that... but you need to develop modules to do that. One way of solving your problem would be to develop a module that extends X model creating calculated fields, and those fields are populated with data pulled from external databases. There are many ways to pull data from other DBs in Python, you can do that with different libraries such as pymysql (for MySQL databases) or with ORM like SQLAlchemy.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 6/7/13, 3:10 PM|
|Seen: 1607 times|
|Last updated: 3/16/15, 8:10 AM|