Loading...
Loading...
Odoo ERP integration - connect, introspect, and automate your Odoo instance
npx skill4agent add marcfargas/odoo-toolbox odoo@marcfargas/odoo-clientimport { createClient } from '@marcfargas/odoo-client';
const client = await createClient(); // reads ODOO_URL, ODOO_DB, ODOO_USER, ODOO_PASSWORD
// Core CRUD — directly on client
const partners = await client.searchRead('res.partner', [['is_company', '=', true]], {
fields: ['name', 'email'],
limit: 10,
});
// Chatter — via client.mail service accessor
await client.mail.postInternalNote('crm.lead', 42, '<p>Called customer.</p>');
await client.mail.postOpenMessage('res.partner', 7, 'Order shipped.');
// Module management — via client.modules accessor
if (await client.modules.isModuleInstalled('sale')) { /* ... */ }| Accessor | Description | Skill doc |
|---|---|---|
| Post notes & messages on chatter | |
| Install, uninstall, check modules | |
| Clock in/out, presence tracking | |
| Timer start/stop, time logging | |
searchReadcreatewriteunlinkclientbase/connection.mdcreateClient()base/field-types.mdbase/domains.mdbase/{name}.md| Module | Description |
|---|---|
| introspection | Discover models & fields |
| crud | Create, read, update, delete patterns |
| search | Search & filtering patterns |
| properties | Dynamic user-defined fields |
| modules | Module lifecycle management |
| skill-generation | How to create new skills |
mail/{name}.md| Module | Description |
|---|---|
| chatter | Post messages and notes on records ( |
| activities | Schedule and manage activities/tasks |
| discuss | Chat channels and direct messages |
mailCHANGES_V{XX}.md| Document | Version | Key Changes |
|---|---|---|
| Odoo 17 | mail.channel → discuss.channel, read tracking |
client.modules.isModuleInstalled()| Skill | Path | Required Modules | Description |
|---|---|---|---|
| accounting | | | Accounting patterns, cashflow, reconciliation, bank statements |
| attendance | | | Clock in/out, presence tracking ( |
| timesheets | | | Timer start/stop, time logging on projects ( |
| mis-builder | | | MIS Builder — reading, computing, exporting reports |
| mis-builder-dev | | | MIS Builder — creating & editing report templates, expression language, styling |
base/introspection.mdskills/{model-action}.mdbase/skill-generation.md