LaunchKit · 2026
Back to Skills

odoo-json2-operator

Execute Odoo operations through JSON-2 API endpoints with bearer API keys.

0
0 downloads
by @sncic

Setup & Installation

openclaw skills install @sncic/odoo-json2-operator

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install odoo-json2-operator

What This Skill Does

Executes Odoo model operations through the JSON-2 HTTP API using bearer authentication. Supports search, read, create, write, unlink, and custom model methods. Validates model names and method signatures via the api_doc module before each call.

Discovery-first validation against /doc-bearer endpoints catches invalid model or method names before execution, avoiding silent failures common with direct API calls.

When to use it

  • Search customer records by name or email in Odoo
  • Create sales orders without logging into the Odoo UI
  • Update product prices or inventory fields across records
  • Run custom model methods for specific business workflows
  • Pull period-based data from Odoo for management reporting

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Find all customers whose name contains 'Acme' and show their emails

AGENT
  1. 1Load saved connection profile or collect base_url, database, and api_key
  2. 2Call /doc-bearer/index.json to confirm res.partner model is available
  3. 3Call /doc-bearer/res.partner.json to validate search_read method and parameters
  4. 4Build payload with domain [["name", "ilike", "Acme"]] and fields ["name", "email"]
  5. 5POST to /json/2/res.partner/search_read and return matching records
OUTPUT

List of res.partner records with name and email fields matching 'Acme'

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

Odoo instance URLOdoo database nameOdoo bearer API key