txampa

Claude Skill Odoo Integration — Development skill for Claude Code

Development community

Claude Code skill for Odoo integrations: XML-RPC (Odoo 8-19) and the new JSON-2 API (Odoo 19+).

How to install Claude Skill Odoo Integration

This entry records only its repository, not the path inside it, so there is no exact command to give. Open txampa/claude-skill-odoo-integration and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Skill Odoo Integration does

Claude Code skill for Odoo integrations: XML-RPC (Odoo 8-19) and the new JSON-2 API (Odoo 19+).

Alternatives in Development

README

odoo-integration

![odoo-integration banner](banner.png)

A [Claude Code](https://claude.ai/code) skill that gives Claude expert knowledge of Odoo integrations, over XML-RPC and the new JSON-2 API. Connect to any Odoo instance, query models, sync data to Google Sheets or other outputs, and deploy on Railway — without explaining the basics every time.

Works with **Odoo 8 through 19**.


⚠️ Odoo is retiring XML-RPC

Odoo 19 deprecated the XML-RPC and JSON-RPC endpoints (`/xmlrpc`, `/xmlrpc/2`, `/jsonrpc`). They are scheduled for removal in **Odoo 22 (fall 2028)** and **Odoo Online 21.1 (winter 2027)**. The replacement is the [External JSON-2 API](https://www.odoo.com/documentation/19.0/developer/reference/external_api.html): one `POST /json/2//` per call, an API key as bearer token, arguments by name.

The skill ships both clients with **the same methods**, so moving an integration to JSON-2 means swapping the client and the credentials, not rewriting the sync:

const OdooClient = require('./config/odoo');            // XML-RPC, Odoo 8–19
const OdooJson2Client = require('./config/odoo-json2'); // JSON-2, Odoo 19+, no dependencies

const odoo = new OdooJson2Client(); // ODOO_URL + ODOO_API_KEY
await odoo.authenticate();
const pickings = await odoo.searchRead('stock.picking', [['state', '=', 'assigned']], ['id', 'name', 'scheduled_date']);

Two things that catch people out: JSON-2 runs **every call in its own transaction**, and on Odoo Online the external API (old and new) is only available on the **Custom** plan.


How it works

Install the skill once. From that point, Claude understands the full integration stack without you having to explain it:

  • XML-RPC and JSON-2 clients, authentication and API keys
  • Which models to query and what their fields are called in your version
  • How states differ between Odoo versions
  • How to build reliable, incremental syncs with deduplication
  • The traps of creating records over