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.
I connected to external database(MySQL) and getting data from database,but my requirement is create report using external database data,how can i achieve this
pls help me
Idea 1) First of all, this idea is untested! Its not simple and requires some knowledge of postgres and creating own openerp moduls. The idea: Use postgres foreign data wrapper to connect to the mysql database tables. So you have all your tables from mysql in your postgres database. Then you create own models, with an ORM that reflects your mysql tables, define the proper fields for every column and so on.
Idea 2) Create the datastructure of your mysql database with an own module and write a data copy script to import your data.
In the next step (no matter which idea you chose before) you can define reports based on those ORM or define views on those other tables.
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: 8/6/15, 6:36 AM|
|Seen: 616 times|
|Last updated: 8/7/15, 3:07 AM|