Skip to main content

Command-line tool for Odoo using xmlrpc

Project description

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.

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

odoorpc_cli-0.2.8.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

odoorpc_cli-0.2.8-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

Details for the file odoorpc_cli-0.2.8.tar.gz.

File metadata

  • Download URL: odoorpc_cli-0.2.8.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for odoorpc_cli-0.2.8.tar.gz
Algorithm Hash digest
SHA256 767d5bc7be820c12880facc7f7477863bca5a3c8e815f25e2d26fbe2943738c0
MD5 5ab06f45af6151dc1b86b13a5b069399
BLAKE2b-256 f5c120c25e877c030871d15830898981d4e499aabe2fd64be9b98d96dd48e196

See more details on using hashes here.

File details

Details for the file odoorpc_cli-0.2.8-py3-none-any.whl.

File metadata

  • Download URL: odoorpc_cli-0.2.8-py3-none-any.whl
  • Upload date:
  • Size: 25.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for odoorpc_cli-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 e446c8a7449a4b47ef1db202f91eca2d2e76acf8ea43e55858cb2bcf00cc45a8
MD5 901a5c9f1f6f9b21ceb77fa6b1b9b9ac
BLAKE2b-256 4f94ef7d2fa2f999b82e96c552eb6b19f33231368c8db6e793417d30a5043ddb

See more details on using hashes here.

Supported by

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