Monday, November 27, 2017

Odoo API



How to find name of database for XML-RPC connection to OpenERP/Odoo?

db_serv_url = 'http://{}/xmlrpc/db'.format(host)
sock = xmlrpclib.ServerProxy(db_serv_url)
dbs = sock.list()
print dbs



No comments:

Post a Comment

free online comma separating tool

https://delim.co/#