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.


php odoo integration

Avini Wanigasinghe
on 11/5/15, 5:28 AM 955 views

Is there a way to integrate php with odoo? any help please...



| 7 7 8
Turnhout, Belgium

My Odoo blog: http://www.odoo.yenthevg.com/

My Twitter: https://twitter.com/Yenthe666

On 11/5/15, 5:40 AM

Hi Avini,

Yes there is. You can connect to Odoo through XML-RPC calls. PHP is also an option for this (along with Python, Ruby and Java). 
You can find the full docs here: https://www.odoo.com/documentation/8.0/api_integration.html
For example to login through PHP:

$common = ripcord::client("$url/xmlrpc/2/common"); 
    "server_version": "8.0",
    "server_version_info": [8, 0, 0, "final", 0],
    "server_serie": "8.0",
    "protocol_version": 1,

So you could get about everything you'd like through PHP from your Odoo!


Thank for your quick reply yenthe. does that mean we can replace python using php?

Avini Wanigasinghe
on 11/5/15, 5:58 AM

No problem Avini! Technically you should be able to do everything in PHP just like you could in Python. The only downside is that you would have to re-develop everything in PHP while by default there is a website interface made with Python.

on 11/5/15, 6:01 AM

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: 11/5/15, 5:28 AM
Seen: 955 times
Last updated: 11/5/15, 9:28 AM