In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
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