Skip to main content

Simple API wrapper for Odoo's External API

Project description

Odoo Python Client

PyPI
Odoo API Client in Python

  • Free Software: MIT License

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.6.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

odoo_client-0.0.6-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file odoo_client-0.0.6.tar.gz.

File metadata

  • Download URL: odoo_client-0.0.6.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for odoo_client-0.0.6.tar.gz
Algorithm Hash digest
SHA256 9150a20a0f9f2a11d261be4a64693abb47e6929a7bcf081caba34d20f4d75faf
MD5 e5496305188457e1f804978d028127d8
BLAKE2b-256 d6b83b336b8b8657bf8e1cdf9457df874e5d21a1bdcd8979139f78386b0fa68b

See more details on using hashes here.

File details

Details for the file odoo_client-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: odoo_client-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for odoo_client-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e63dabade09a2769ed7fbff38541f3db4537fd3eb0801c59ee04209a4af6b8cc
MD5 717bbf74f8d9e5a6c8bae2ad0a1bd8c6
BLAKE2b-256 d798f7be41366dc5a860c9cd120bfa30bb736a534979be7472a8c56474c757f9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page