Odoo RPC CLI
A command-line interface for Odoo, providing quick access to common operations like authentication, searching, creating, updating, and deleting records. It is designed for AI, developers and administrators who prefer working in the terminal.
Installation
Homebrew (tap)
Install odoorpc_cli from the project's Homebrew tap (recommended):
brew tap biszx/tap https://github.com/biszx/homebrew-tap
brew install biszx/tap/odoorpc_cli
Windows
Standalone executable (no Python required): download the odoorpc_cli Windows executable from a release's assets (the repository contains a CI workflow that builds an exe with PyInstaller and uploads it as an artifact). Place the exe on PATH or run it directly.
Installer (recommended): download the Inno Setup installer (odoorpc_cli-X.Y.Z-setup.exe) from a release's assets — it creates shortcuts and an uninstaller for easy setup on Windows.
Python (pip)
Install from PyPI:
pip install odoorpc_cli
Usage
Authenticate and save credentials (interactive):
odoo auth login --host https://odoo.example.com --db demo --username admin --password secret
Search for records:
odoo search read res.partner --domain "[[\"name\", \"ilike\", \"Acme\"]]" --fields name,email
Call a custom model method:
odoo call-method res.partner --method custom_method --args "[]" --kwargs "{}"
Contributing
Please open issues and pull requests on the repository. Run tests with pytest.
Metadata
Release files for odoorpc-cli 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| odoorpc_cli-1.2.2.tar.gz | 22.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| odoorpc_cli-1.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 58.5 kB
Release files / odoorpc_cli-1.2.2.tar.gz
| Download URL | odoorpc_cli-1.2.2.tar.gz |
|---|---|
| Size | 22.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49fc78077defd600256a3f687d2914f5263e58c08cee2c9e2e9fd5412cf96ece
|
|
BLAKE2b-256 checksum How to use checksums |
80e032e5fe8cfde82414bec0d75efda87797bd84b6b309634efa0ea810b8ed96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / odoorpc_cli-1.2.2-py3-none-any.whl
| Download URL | odoorpc_cli-1.2.2-py3-none-any.whl |
|---|---|
| Size | 35.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8116987d1e7f32b6277ed17fdb83dbe6eedd47da975a06aacb6b5a0ef0480bd9
|
|
BLAKE2b-256 checksum How to use checksums |
62175a530a529ad83c82c2875308ae7ec47f8dca894353b47042be3bf3502970
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|