skip to content
vvhybe

case 202026

Odoo Client

@vvhybe/odoo-client

A typed JSON-RPC and XML-RPC client for Odoo 14 to 19, for Node.js, Next.js and React.

filed
my own
closedoct 2026
role
author and maintainer
period
2026
status
closed: shipped
five names in three days

the brief

sheet 2 of 6

Calling Odoo from JavaScript meant hand-building JSON-RPC or XML-RPC payloads, keeping a session cookie alive, and tracking endpoints and arguments that move between Odoo 14 and 19.

Odoo Client puts one typed object in front of all of it.

the identity

sheet 3 of 6
Odoo Client's mark: two open rings, teal and purple, joined at one white dot
the markMine.

Two runtimes joined at one point, which is what the library does: the teal ring is the JavaScript side, the purple one Odoo's. Its neutrals are GitHub's own dark ones, so it reads as native to a README.

the colours

  • ground#0D1117
  • the JavaScript side#1D9E75
  • the Odoo side#7F77DD
  • text#E6EDF3
  • muted#8B949E

the type

  • the system's monospacethe wordmark and the tagline, as live text

    type-safe odoo connectivity for node.js

in its own words

  • type-safe odoo connectivity for node.js

its signature

  • The mark in front of every heading of the README, down to the smallest.

the presentation

sheet 4 of 6

the mark

Two three-quarter rings, interlocked, and the white dot where they meet: the bridge.

my own, MIT

one call, five steps

One call from your app to Odoo and back, drawn as it happens: your app calls, the client picks the path, the request goes out, Odoo answers, and typed records arrive.

the map

The architecture in five tiers, from the apps that call it down to Odoo 14 to 19. The report service is drawn dashed: it's on the roadmap, not shipped.

the build

sheet 5 of 6

one ORM, two wires

OdooConnect is the only door. Under it, an ORM service turns search_read, create or write into RPC payloads, and a client sends them: JSON-RPC by default, keeping the session cookie itself in Node, or XML-RPC with protocol: 'xmlrpc'.

Version differences live in one place. Below 16, reads go to the old /web/dataset/search_read; from 19, name_search takes positional arguments. Code that calls the client never has to know.

retries that know when to stop

A failed call retries with exponential backoff, half a second, then one, then two. A wrong password never does: it won't fix itself, so it surfaces at once.

Odoo's own exceptions come back typed: an AccessError arrives as an OdooAccessError you can catch by class.

a model of any size

paginate() is an async generator, a hundred records a page by default, so for await walks a whole model without holding it in memory.

five names in three days

The commit log went Nodoo, Codoo, odoox, odoo-sdk, then @vvhybe/odoo-client, from the 25th to the 27th of March 2026, and the banner's wordmark followed every rename. Naming was the hard part.

Strict TypeScript, 74 tests and a Node 18, 20 and 22 matrix in CI. Every commit runs lint, format, types, tests and the build before it lands.

made with typescript, node 18+, vitest, json-rpc, xml-rpc

the verdict

sheet 6 of 6
  1. Mar 2026On npm, 0.1.0, with provenance.
  2. Oct 2026v1.0.0 released on GitHub and archived on Zenodo, with a DOI.
  3. nowMIT, and mine.
Odoo Client: its cover
case 20, Odoo Client
print 1 / 3