Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4089 มุมมอง

Hi

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

thanks

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ต.ค. 23
913
0
มิ.ย. 23
1311
1
ก.ค. 22
1502
2
ต.ค. 21
6545
0
พ.ค. 16
7336