GitXplorerGitXplorer
a

odoo-api

public
16 stars
3 forks
1 issues

Commits

List of commits on branch main.
Verified
a18b346d095492a80421bf4442776b54ce11ff7f

Update changelog.md

aaltela committed a year ago
Verified
4f684f8663e3f35dda6fecd4771e84e751b1b2b2

Update README.md

aaltela committed a year ago
Verified
0ef43f64adfa7d0feedd1602e4792528dc8b0ab2

Update attendance_create.py

aaltela committed a year ago
Verified
3ed9727372142ea29449be5e5381a2f522bb0db2

Create attendance_list.py

aaltela committed a year ago
Verified
cd4fbd3b53fc198a6d1d12b59c90ab6328540c76

Update README.md

aaltela committed a year ago
Verified
96f89b43bc31d4f2317e2c01129f4a8d6b5bc2ef

Update attendance_create.py

aaltela committed a year ago

README

The README file for this repository.

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.