Odoo Help


What does XML-RPC be used in OpenERP ?

on 7/1/14, 3:27 AM 1,477 views

Hi, I wonder what does XML-RPC can be used with OpenERP. Is it use for a CRUD operation from a client computer ? Only ?

What else can XML-RPC be benefit to use with OpenERP ?

Thank you

UPDATE-QUESTIONS: If XML-RPC is used to do only operation, why we should use it ? Isn't it better to use PHP and do the CRUD operation directly ?


Atul Arvind

--Atul Arvind--
| 3 3 5
vadodara, India
--Atul Arvind--


I am odoo Enthusiast/Developer from Vadodara, India. Working with odoo from v5 to v11 and other opensource technology since 5+ years. Having Strong Expertise in

Odoo Development

Odoo Customization

Odoo Training

Odoo Integration

Server Administration

Odoo Migration


Here is my StackOverflow profile.  you can also find me on LinkedIn.

Contact: atul.surficle@gmail.com.

Atul Arvind
On 7/1/14, 3:41 AM

If you want do it via web service then have look at the OpenERP XML-RPC Web services

XML-RPC service can call function(CRUD as well as ORM), its arguments, and the result of the call are transported using HTTP and encoded using XML. 

XML-RPC can be used with Python, Java, Perl, PHP, C, C++, Ruby, Microsoft’s .NET and many other programming languages. Implementations are widely available for platforms such as Unix, Linux, Windows and the Macintosh.

Thanks, I skimmed through the documentation. In the section PHP with login demo script, is this means that I can create a login form and login to OpenERP from my website instead of regular login page of OpenERP ?

on 7/1/14, 4:11 AM

Yes, you can create your own form in PHP to do log in to OpenERP.

Atul Arvind
on 7/1/14, 6:37 AM

Could you please suggest the way to redirect to OpenERP HomePage ? I followed from the document and others webpage from googling, it's only about connect, read, and write, but there is no example of how to redirect to OpenERP HomePage.

on 7/1/14, 7:35 AM

As of today it you want to plan to integrate odoo apps with other application JSON is the correct approach as odoo is also support JSON API too. it is faster then the XML and you can do all when you can do with xml.

On 7/1/14, 7:55 AM

Additional Answer: XML-RPC will be useful when there are others program [ written in different language from OpenERP and perhaps different platforms ] wants to talk to OpenERP.

Thanks @Atul

About This Community

This platform 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 Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 7/1/14, 3:27 AM
Seen: 1477 times
Last updated: 3/16/15, 8:10 AM