Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
12273 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Bài viết liên quan Trả lời Lượt xem Hoạt động
Module development Đã xử lý
1
thg 10 15
4222
4
thg 7 16
4041
1
thg 3 16
4154
0
thg 11 15
3614
odoo backend Đã xử lý
3
thg 10 15
7023