Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
12139 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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?

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 ตอบกลับ มุมมอง กิจกรรม
Module development แก้ไขแล้ว
1
ต.ค. 15
4056
4
ก.ค. 16
3938
1
มี.ค. 16
4071
0
พ.ย. 15
3541
odoo backend แก้ไขแล้ว
3
ต.ค. 15
6876