Odoo JSON RPC | Custom API Integration | Odoo External API Connector
Odoo JSON RPC | Custom API Integration | Odoo External API Connector provides a flexible and
efficient way to access, create, update, and manage Odoo records
through JSON-based API requests.
In addition to supporting Odoo's built-in methods, the module also allows developers to
execute custom methods created within Odoo, offering greater flexibility for advanced
business requirements. By leveraging JSON, organizations can achieve faster integrations,
streamlined data processing, and seamless connectivity between Odoo and external platforms
while maintaining a structured and scalable API architecture.
Features
Access Odoo records using lightweight and efficient JSON requests.
Execute Odoo's built-in methods directly through API calls.
Call and execute custom Python methods developed specifically for your Odoo environment.
Perform complete CRUD operations on Odoo records through JSON APIs.
Simplify API integration with structured JSON request and response formats.
Automate data exchange and operational workflows through API-driven integrations.
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:7019/json-call/user_authenticate'
headers = {
'Content-Type': "application/json",
}
data = {
"jsonrpc": "2.0",
"params": {
"login":
"admin",//Odoo User name
"password":
'admin',//Password of user
"db":
'odoo_databases',//
}
}
Setup Token
Once you will receive token from json request as like above image just go to the Setting > JSON RPC > Token. Set the token and user fields.
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
Created records in Odoo
- We provide 90 days bug-free support related to our module.
- We provide 5 hours of free configuration support. Additional configuration or customization is billable.
- The support team is available from Monday to Friday 10:00 AM to 07:00 PM (IST).
- To create a ticket, send an email to support@techultra.in.
Yes. The module allows you to access Odoo records and perform operations through JSON requests.
Yes. In addition to Odoo's standard methods, you can execute custom methods developed for your business requirements.
Yes. The API supports record creation based on the permissions and business logic configured in Odoo.
The module can work with any Odoo model that is accessible through the configured API methods.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 750 |
| Technical Name |
odoo_json_rpc |
| License | OPL-1 |
| Website | https://www.techultrasolutions.com/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Configuration
Support
FAQs
Please log in to comment on this module