Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
7948 Vues

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
Ignorer
Meilleure réponse

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
Ignorer

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

Publications associées Réponses Vues Activité
2
juin 25
501
1
août 23
12957
0
juin 20
61
1
mars 15
6209
4
avr. 24
2246