Read-only Odoo JSON-RPC layer for omadia's agents, plus company-enrichment via OpenRegister / NorthData.
An Odoo integration for omadia.
Publishes the odoo.client, odoo.cache and odoo.enrich services and
contributes the native enrich_company tool.
| Concern | Implementation |
|---|---|
| Odoo access | Read-only JSON-RPC client (odooClient.ts), toolkit factory (odooToolkit.ts) |
| Caching | odooResponseCache.ts |
| Entity sync | odooEntitySync.ts, odooEntityExtractor.ts |
| Company enrichment | NorthData + OpenRegister clients, fact mappers, ingest pipelines, enrich_company tool |
| Service surface | Publishes odoo.client, odoo.cache, odoo.enrich to the service registry |
This package is a pure integration layer — no user-facing setup beyond Odoo
connection credentials (see manifest.yaml for the full
field list).
npm install
npm run typecheck # tsc --noEmit
npm run build # tsc
npm test # esbuild-transpile tests/ → node --test@omadia/plugin-api is a peer dependency, provided by the omadia host at
runtime. @omadia/orchestrator is linked as a test-only dependency —
tests/odooCore.test.ts exercises the odoo↔orchestrator turnContext
integration point, but the package itself never depends on orchestrator (it
is not in peerDependencies). For local dev, tsconfig.json maps both to
sibling checkouts under ../odoo-bot/middleware/packages/* — check out
odoo-bot alongside this repo, or adjust the paths entries.
MIT © byte5 GmbH — see LICENSE.