Odoo Help

1

php odoo integration

By
Avini Wanigasinghe
on 11/5/15, 5:28 AM 1,562 views

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

0
Yenthe
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"); 
$common->version();
{
    "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!

Yenthe

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.

Yenthe
on 11/5/15, 6:01 AM

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.

Register

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)

Stats

Asked: 11/5/15, 5:28 AM
Seen: 1562 times
Last updated: 11/5/15, 9:28 AM