Search Here

Pages

Tuesday, 1 October 2019

Connecting to odoo using XML-RPC

In this tutorial I will show you how to connect odoo by using XML-RPC. Before going directly into code I have to tell you about XML-RPC.




Connecting to odoo using XML-RPC

What is XML-RPC and why we use it?


XML-RPC is created by Dave winer in 1998. It is XML based protocol, used to transmit information between computer systems through network. RPC stands for remote procedure call and it uses XML to encode the calls. To transmit information it uses HyperText Transfer Protocol (HTTP) request. RPC gives developers a mechanism for defining interfaces that can be called over a network.

By using XML-RPC two or more computers running different operating systems and programs written in different languages to share processing and in formations. For example, an Odoo application could talk with a PHP program or an Android Application which in turn talks with Python application that talks with ASP, and so on.

Connecting to odoo using XML-RPC


6 comments:

  1. hi guys,
    please could i have the bit of XML-RPC code, which allows to create an invoice ?????
    for odoo 11 or 13

    ReplyDelete
    Replies
    1. I will upload soon for record creation in odoo13 using xml rpc

      Delete
  2. you have a return in your code, but no function

    ReplyDelete
    Replies
    1. Yup you can use this function to get user, pwd and database info, i am printing all of this on a button click, thats why i have no function

      Delete
  3. How can l use it for instagram handle

    ReplyDelete
  4. How can l use it for instagram handle

    ReplyDelete