This question has been flagged
2 Replies
4302 Views

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
Discard
Best Answer

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
Discard
Author Best Answer

Thanks so much :)

Avatar
Discard