Odoo Help


Knowledge about JSON RPC

sharjeel ali shaukat
on 8/21/14, 1:20 AM 2,926 views

I'm trying to build a WebApp proof-of-concept for OpenERP. It should be a offline-first, mobile-first app, and work independently from OpenERP's webclient. For my proof-of-concept I'll be using Boostrap and Backbone with LocalStorage. These components are already part of OpenERP's stack, and my research tells me they can meet my goals. Now, my missing piece is the communication with the OpenERP Server. I know I can use JSON-RPC, but I can't find any concise documentation on how to do it with Javascript. I may be missing something obvious, but my next step is going to dig into OpenERP web client libraries to figure that out. I want to get a working pure javascript example for reading and writing data for an OpenERP Model, using JSON-RPC to interact with the server. I would greatly appreciate some help from knowledgeable people that could . I promise to share the results.

hii found a solution for this problem. you can use following solution...... http://gauravsahu.github.io/odoo-client-JSON-RPC/

Gaurav Sahu
on 10/3/14, 9:00 AM
Gaurav Sahu
On 10/3/14, 9:20 AM

hii found a solution for this problem.

you can use following solution......


On 5/7/15, 5:31 AM

Hi pierre

I ve downloaded and tested the code in the anybox.fr link. But it seems not workin, after many tries , i still got "Session Expired Exception" and when i try to display user_context data i always got an emty json object : {}.

i checked , url, base name, login and password, every thing is ok, but still got the some excpetion.

Any explanation about what went wrong ?


Pierre verkest
On 10/3/14, 9:51 AM

Hi Chancerel,

Thanks to linked Anybox blog! I'm appologize currently the demo is probably down, I'm moving this demo on odoo. I haven't ever try if it's still working.




Stephen Mack

--Stephen Mack--
Stephen Mack
| 8 8 9
Santiago, Chile
--Stephen Mack--

Some people call me a karma whore, I only ask for 10 points if you like my answer and 15 if I happen to get it correct.

Stephen Mack
On 10/3/14, 9:14 AM

Try the new odoo developers documentation.

It includes JSON-RPC sample code.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

4 follower(s)


Asked: 8/21/14, 1:20 AM
Seen: 2926 times
Last updated: 5/7/15, 5:31 AM