Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
5449 Ansichten

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.

Avatar
Verwerfen
Beste Antwort

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.

Avatar
Verwerfen
Autor Beste Antwort

Thanks so much :)

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Feb. 25
1191
3
Juli 20
12672
0
März 15
3704
0
Feb. 25
1441
3
Sept. 24
7391