Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
8236 Visualizzazioni

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?

Avatar
Abbandona
Risposta migliore

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


Avatar
Abbandona

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

Post correlati Risposte Visualizzazioni Attività
3
lug 25
840
1
ago 23
13292
0
giu 20
61
1
mar 15
6377
4
apr 24
2464