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

Hi everyone,

I need some help and get really mixed up. I google around and find in this forum. Some said can, some said only v8. So which one?

Based on the forums here, jsonrpc seems possible with v7

https://www.odoo.com/forum/help-1/question/does-anyone-has-an-example-of-how-to-use-json-rpc-in-php-or-any-to-do-a-login-form-56081

https://www.odoo.com/forum/help-1/question/api-functionality-json-rest-from-outside-59344

Based on google search here, jsonrpc is only for v8 onwards

https://pypi.python.org/pypi/openerp-client-lib/1.0.0

So which one?

If v7 can really support jsonrpc, is there anything I need to configure extra? e.g. openerp-server.conf or?

I have tested http://localhost:8069/jsonrpc, and I got 404 error.

I have tried the 6080 port as well, but it's just not working.

Any help? Thanks.

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

JSON-RPC (version 2) is supported by Odoo back to version 6.1. So version 7 is using JSON-RPC.

openerp-client-lib will start support JSON-RPC for Odoo 8, maybe because the structure of the code related to JSON-RPC is difference. This is my speculation.

To see JSON-RPC in action open Network Monitor in Firefox or your other favorite browser.

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

Thanks so much :)

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 25
415
3
thg 7 20
11829
0
thg 3 15
3230
0
thg 2 25
696
3
thg 9 24
5016