Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Help Connecting to Odoo.sh API with Download tool

Ossama59
5 - Atom

Hello everyone,

 

I'm new to Alteryx so excuse me if the this is an obvious question but is there anyway to connect to Odoo.sh api to request data from a module using the download tool?

 

 Currently I can connect using the python SDK tool using  XML-RPC as per this guide

and this working but I'm exploring other options if it could be easier or more maintainable!

example of working code currently:

 

 

import xmlrpc.client
common = xmlrpc.client.ServerProxy('{}/xmlrpc/2/common'.format(url))
uid = common.authenticate(db, username, password, {})
models = xmlrpc.client.ServerProxy('{}/xmlrpc/2/object'.format(url))
data=models.execute_kw(db, uid, password, 'res.partner', 'search_read', [[]], {'fields':fields , 'limit': 5})
 
Appreciate any help.
0 REPLIES 0
Labels
Top Solution Authors