Skip to main content

OpenClaw Assistant

Connect the OpenClaw AI assistant to your Odoo instance through a secure, allowlisted REST API.

Price: $250 (one-time)
Odoo Versions: 17, 18, 19
Category: Productivity
Dependencies: base, web
Author: ECOSIRE (PRIVATE) LIMITED

Overview

OpenClaw Assistant exposes secure REST endpoints under /openclaw/* that let the OpenClaw AI agent perform approved Odoo operations. Unlike generic API integrations, only explicitly allowlisted operations can be executed, with per-operation domain restrictions, argument validation, and sudo control.

Key Features

  • Bearer Token Auth - Uses Odoo native API keys (no custom credential storage)
  • Allowlisted Operations - Only pre-approved operations can be called
  • Full Audit Logging - Every request logged with user, IP, payload, response, duration
  • IP Allowlist - Optional restriction to specific source IPs
  • Setup Wizard - Guided onboarding with bootstrap ZIP generation
  • Dry-Run Mode - Test any operation without side effects
  • JSON Schema Validation - Required arguments and types enforced per operation
  • Flexible Deployment - Same-server or remote with SSH tunnel support

REST API Endpoints

MethodEndpointDescription
GET/openclaw/pingVerify authentication and return identity
GET/openclaw/specDiscover all available allowlisted operations
POST/openclaw/executeExecute an allowlisted operation by code

Operation Types

TypeDescriptionExample
Record MethodCall a method on a specific recordConfirm a sale order, post an invoice
Model MethodCall a class-level methodGenerate a report, run a scheduled action
CRUDCreate, Read, Search, Write, UnlinkSearch partners, create tasks, update records

Security Architecture

  • Bearer Token Auth via Odoo API keys
  • Security Groups: OpenClaw API User and OpenClaw Administrator
  • IP Allowlist: configurable per-instance
  • Domain Restrictions: per-operation forced domains limit record scope
  • Argument Validation: JSON Schema per operation
  • Sudo Control: per-operation toggle, disabled by default
  • Audit Trail: complete request/response logging

Configuration

Settings

Navigate to Settings > OpenClaw to configure:

FieldDescription
OpenClaw EnabledMaster toggle for the integration
Deployment ModeSame Server (Local) or Separate Server (Remote)
Odoo Base URLPublic URL for the Odoo instance
Integration UserDedicated user for API calls
Allowed IPsComma-separated IP allowlist (empty = all)
Log PayloadsWhether to store request bodies in audit logs
Result Preview LimitMax characters for result previews in audit (default: 500)

Operations

Navigate to OpenClaw > Operations to manage allowlisted operations:

FieldDescription
NameHuman-readable operation name
CodeUnique identifier used in API calls
Kindrecord_method, model_method, or crud
Model NameTarget Odoo model (e.g., sale.order)
Method NameMethod to call (for record/model methods)
Argument Schema (JSON)JSON Schema for argument validation
Forced DomainDomain expression to restrict records
SudoWhether to execute with elevated privileges

Setup Guide

  1. Install the OpenClaw Assistant module
  2. Run Setup Wizard (OpenClaw > Setup Wizard)
    • Choose deployment mode (same server or remote)
    • Create or select an integration user
    • Paste the API key for the integration user
    • Download the bootstrap ZIP
  3. Configure OpenClaw with the bootstrap ZIP contents:
    • Set ODOO_BASE_URL and ODOO_API_TOKEN environment variables
    • Enable the odoo-bridge extension in OpenClaw config
  4. Test with /openclaw/ping endpoint
  5. Define Operations for the actions you want OpenClaw to perform

Audit Logs

All API requests are logged in OpenClaw > Audit Logs with:

  • Request UID, user, operation, path, HTTP method
  • Remote IP address
  • Request payload (if logging enabled)
  • Response status and preview
  • Duration in milliseconds

Support