Skip to content

altela/odoo-api

Repository files navigation

Odoo API XML-RPC Connection With Python

XML-RPC connection for External API to create, read, write, delete (CRUD) record of Odoo through your own external third-party app or module using python programming language.

View Changelog

Clone The Project

git clone https://github.com/Altela/odoo-api.git

Modify connection.py

url = 'https://yourDomain-or-yourIP'
db = 'yourDatabaseName'
username = 'yourOdooInternalUser'
password = 'yourPassword'

Get Into The Project

cd odoo-api

Run The Script

python3 -m your_file.py

Files Information

There are two kind of files, it's Mandatory Files and Query Files.

Mandatory Files

This three files will be used to establish connection between your Odoo server and app you build. You just have to edit the connection.py files as previous instruction tells you.

The connection.py will pass the information to endpoint.py. When you run the Query Files, establish.py will be triggered and requesting information from connection,py and endpoint.py. This will gives you credential to log into Odoo and execute the Queries.

Query Files

This is the files that has queries to CRUD.

Contact App

Sales App

Inventory App

Purchase App

Memo App

Helpdesk App

Attendance App

Contribution

If you wish to contribute, you can fork this repository, and please see this to-do lists.

For reference, here's the Odoo API Documentation & Odoo ORM API Documentation.

Create your script file and make a pull request.

About

XML-RPC API connection script for create, read, write, delete (CRUD) record of Odoo ERP through your own external third-party app or module.

Topics

Resources

Stars

Watchers

Forks

Languages