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

Hello everybody, I have a problem, I need get data from a external table of a external database for use this data in a many2one field, my problem is that the external table is getting new records and I must refresh that table in Odoo, but I don't if this is possible, anyone could help me? Thanks!!!

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

you can always make a connection to that other database and refresh the table in odoo from that table there. It would be just setting up a cron which will run every 1 hour lets say, and if the cron finds new records that do not exists in the odoo table, create them. It would be as easy as that. Cheers

อวตาร
ละทิ้ง
ผู้เขียน

I finally found a solution with the dblink extension of Postgres that allows connect two different databases in the same query :)

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
เม.ย. 18
2904
5
มิ.ย. 21
23841
Odoo Table Name แก้ไขแล้ว
1
เม.ย. 20
12905
1
ม.ค. 19
3443
Openerp database list in postgresql แก้ไขแล้ว
5
เม.ย. 23
16439