跳至內容
選單
此問題已被標幟
2 回覆
4982 瀏覽次數

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.

頭像
捨棄
最佳答案

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.

頭像
捨棄
作者 最佳答案

Thanks so much :)

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
2月 25
407
3
7月 20
11816
0
3月 15
3217
0
2月 25
688
3
9月 24
4987