Skip to main content

Command-line tool for Odoo using xmlrpc

Project description

Odoo 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.1.0.tar.gz (14.3 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.1.0-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for odoorpc_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a05b1fc29c4b8922399667fd48f9cf0b7d9ebb14609f420e0ea47c94f11b3c0b
MD5 5e1a01c3795f110912e8881a90a8afb5
BLAKE2b-256 a2403284dc95d370a412535c84a2b32e89b9ecb6128432e08903293fe4771621

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for odoorpc_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f66faf38885631169fa8d4f789fb83c7b93194501fa0db035a37ff18675c2cf9
MD5 174bcc9405e3b8363ccaf8b176d01de4
BLAKE2b-256 c6b8b1075103402132848881d5e672a72cfc4976fdc435c21b21257f3bbb788f

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