Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Web service api host name

Akhil R S
on 1/20/16, 11:54 PM 672 views


I have to connect with odoo in my localhost or my nearest system( 

So what should be my host url?

$url = <insert server URL>;

i tried "localhost:8069" and ""

$info = ripcord::client('https://demo.odoo.com/start')->start();

here i tried "localhost:8069/xmlrpc" and ""

both not working. I don't know is it my host name is causing it.

What might be the problem?

what do "/start" stand for?

On 3/17/16, 7:23 AM

Hi Akhil 

Please try this

import xmlrpclib

dbname = 'demo'

username = 'admin'

pwd = 'admin'

server = ''

sock_common = xmlrpclib.ServerProxy(server + '/xmlrpc/common')

sock = xmlrpclib.ServerProxy(server + '/xmlrpc/object')

uid = sock_common.login(dbname, username, pwd)

recored_id = sock.execute(dbname, uid, pwd, 'model', 'search', [('name', '=', name])

print ">>>>>>>>>>>>", recored_id

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 1/20/16, 11:54 PM
Seen: 672 times
Last updated: 3/17/16, 7:23 AM