Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
12102 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Autor

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

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.

Related Posts Odpovědi Zobrazení Aktivita
1
říj 15
4001
4
čvc 16
3910
1
bře 16
4005
0
lis 15
3507
odoo backend Vyřešeno
3
říj 15
6848