Simple API wrapper for Odoo's External API
Project description
Odoo Python Client
Odoo API Client in Python
- Free Software: MIT License
- Examples: TBA
Installation
pip install odoo_client
Quickstart
from odoo_client import OdooClient
ODOO_URL = "<Your Odoo URL>"
ODOO_DB = "<Your Odoo Database Name>"
ODOO_USER = "<Your Odoo Username>"
ODOO_PW = "<Your Odoo Password>"
CLIENT = OdooClient(ODOO_URL, ODOO_DB, ODOO_USER, ODOO_PW)
PARTNER = CLIENT.object("res.partner")
# Search for Partners that are companies and return the fields: "name", "country_id" and "comment"
records = PARTNER.search_read([["is_company", "=", True]], ["name", "country_id", "comment"])
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
odoo_client-0.0.5.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for odoo_client-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59aaa2f3139451407e4f63ddd9914356b900475413166198b3084479449d6c26 |
|
MD5 | a758a5aecf771fdf6b64236b3b49a165 |
|
BLAKE2b-256 | b7a647cab7e9ae247b689efd4b540e76ceec8534a1edd48e53d3634b8799d105 |