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

I need to connect to the Odoo database through my Python script in order to add and receive data from the database, update and delete it. What's the best way to do this? Of the options I have: Odoo ORM, psycopg2, xmlrpc. Which option would be the best?

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

Hi 

You can use Odoo xmlrpc, which is one of the best methods for fetching and receiving data.

Please check the following references to connect Odoo database from Python using xmlrpc

https://www.odoo.com/documentation/16.0/developer/reference/external_api.html

https://youtu.be/HHDkFFs3CX8


Hope this helps

Regards


อวตาร
ละทิ้ง

Hi , Can we access data from multiple tables that have relations between them ?
Regards,
Farooq

Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ก.ค. 25
858
1
ส.ค. 23
13330
0
มิ.ย. 20
61
1
มี.ค. 15
6390
Database for my module not created แก้ไขแล้ว
4
เม.ย. 24
2487