- Notifications
You must be signed in to change notification settings - Fork3
altela/odoo-api
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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.
git clone https://github.com/Altela/odoo-api.git
url = 'https://yourDomain-or-yourIP'db = 'yourDatabaseName'username = 'yourOdooInternalUser'password = 'yourPassword'
cd odoo-api
python3 -m your_file.py
There are two kind of files, it'sMandatory Files
andQuery Files
.
This three files will be used to establish connection between your Odoo server and app you build. You just have to edit theconnection.py
files as previous instruction tells you.
Theconnection.py
will pass the information toendpoint.py
. When you run theQuery Files
,establish.py
will be triggered and requesting information fromconnection,py
andendpoint.py
. This will gives you credential to log into Odoo and execute the Queries.
This is the files that has queries to CRUD.
Contact App
Sales App
Inventory App
Purchase App
Memo App
Helpdesk App
Attendance App
If you wish to contribute, you can fork this repository, and please see thisto-do lists.
For reference, here's theOdoo API Documentation &Odoo ORM API Documentation.
Create your script file and make a pull request.