v 10.0 v 11.0 v 12.0 Third Party 4
Technical Name odoo_json_rpc
LicenseAGPL-3
Websitehttp://www.techultrasolutions.com
Also available in version v 12.0 v 11.0 v 14.0 v 13.0
You bought this module and need support? Click here!
Technical Name odoo_json_rpc
LicenseAGPL-3
Websitehttp://www.techultrasolutions.com
Also available in version v 12.0 v 11.0 v 14.0 v 13.0

ODOO JSON RPC

Access Odoo's Method and Data anytime, anywhere through JSON

This module provides an API to access records by using Odoo's default methods or even custom methods created in Odoo by using JSON. So what is new about JSON? Let us help you understand benefits of using JSON.

  • Lightweight
  • Easy Integratoin
  • Fast Processing
  • Easy Response Handling
  • Easy to parse
  • Reliable
  • More compact than XML and can be easily loaded
  • More structural information in form of dictionary
Authenticate
Generate Token
Access Odoo Data

Create Records

Allows to create record just with simple API call, let it be any user, product or any other services, it can help you create records without any hassle.

Edit/Update Records

Need to change details of records or full record? Anything from existing record can be changed with this module.

Remove Records

Want to erase whole record? Just call a method from API with the id of that record. Record will be deleted on the fly.

HOW TO USE THIS MODULE

Setup for Token

Initially, we need to generate a token, i.e an authentication key that will be used to perform various operations to Odoo data.
Once token will be generated it can be seen in Odoo Settings alog with that user details.

authenticate_url = 'http://localhost:8888/json-call/user_authenticate'
headers = {
    'Content-Type': "application/json",
}
data = {
    "jsonrpc": "2.0",
    "params": {
        "login": "test_user",
        "password": 'demo',
        "db": 'test_db',
    }
}

Creating Records

When creating any record, send an JSON call to the server with required details and the token that has been generated. Define the model name of which any record has to be created and the data that has to be set. Once the call to server will be made through JSON, it will return the ID of record from Odoo.

Created records in Odoo

Record that has been created will be displayed in the Odoo as well.

Editing Records

Records can be altered from the JSON call, we just have to pass write method and ID of that particular record that has to be changed along with the changes we want to change.

Edited record in Odoo

With just a single call of API, Record can be altered as per requirement. In the image, Record has been updated with email id.

Removing Records

To remove any record, just make a API call to Odoo server with unlink method and the ID of record that has to be removed. It will return response as 'True' once record will be deleted.

For more details on how to use this module, you can find attached PDF file from below path:

odoo_json_rpc
static
description
Technical Document - Odoo JsonRpc.pdf

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
There are no ratings yet!
version 11
by
jherrera
on 10/12/18, 9:13 PM

Buenas tardes Quisiera saber si lo tienen en la version 11?