# Odoo

```json
{
  "name": "Odoo",
  "slug": "odoo",
  "url": "https://composio.dev/toolkits/odoo",
  "markdown_url": "https://composio.dev/toolkits/odoo.md",
  "logo_url": "https://logos.composio.dev/api/odoo",
  "categories": [
    "crm"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-06-18T09:55:46.509Z"
}
```

![Odoo logo](https://logos.composio.dev/api/odoo)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Odoo MCP or direct API to manage CRM leads, update sales orders, track inventory, and query invoices through natural language.

## Summary

Odoo is an open-source ERP and CRM platform for managing sales, accounting, inventory, projects, and customer data.
It helps teams run core business operations in one flexible system.

## Categories

- crm

## Toolkit Details

- Tools: 12

## Images

- Logo: https://logos.composio.dev/api/odoo

## Authentication

- **Api Key**
  - Type: `api_key`
  - Description: Api Key authentication for Odoo.
  - Setup:
    - Configure Api Key credentials for Odoo.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- List overdue invoices by customer
- Create lead for new prospect
- Check low stock inventory items

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `ODOO_CALL_ODOO_JSONRPC` | Odoo JSON-RPC Call | JSON-RPC endpoint for Odoo external API calls. Provides the same functionality as XML-RPC but with JSON encoding. DEPRECATED in v19.0 and scheduled for removal in v20.0 (Fall 2026). Use JSON-2 API at POST /json/2/{model}/{method} instead. |
| `ODOO_CREATE_CONTACT` | Create Contact | Create a new contact (customer, supplier, or generic partner) in Odoo's res.partner model. Use this action when you need to add a new person or company to the Odoo database. Set customer_rank > 0 to mark as a customer, supplier_rank > 0 to mark as a supplier, or leave both unset for a generic contact. |
| `ODOO_GET_APPLICANT_RESULT` | Get Applicant Parsing Result | Tool to retrieve parsing results for a previously submitted resume/applicant document. Use when you need to check the status and get extracted fields (name, email, phone, mobile) from a resume that was previously submitted for parsing. |
| `ODOO_GET_BANK_STATEMENT_RESULT` | Get Bank Statement Result | Tool to retrieve parsing results for a previously submitted bank statement. Returns extracted fields including balance_start, balance_end, date, and bank_statement_lines. Use when you need to check the status and get extracted data from a bank statement document using Odoo's Extract API. |
| `ODOO_GET_EXPENSE_RESULT` | Get Expense Extraction Result | Retrieve parsing results for a previously submitted expense document. Returns extracted fields including description, country, date, total, and currency. Use this after submitting an expense document to get the OCR/extraction results. |
| `ODOO_GET_INVOICE_RESULT` | Get Invoice Parsing Result | Tool to retrieve parsing results for a previously submitted invoice from Odoo Extract API. Use when you need to check the status and get extracted data from an invoice. Poll this endpoint until the status field is 'success' - processing may take time depending on document complexity. |
| `ODOO_LIST_DATABASES` | List Databases | Tool to list all available Odoo databases on the server. Use when you need to see which databases are available on the Odoo instance. |
| `ODOO_PARSE_APPLICANT` | Parse Applicant Resume | Tool to submit a resume/CV document for OCR parsing and data extraction via Odoo Extract API. Extracts name, email, phone, and mobile from applicant resumes. Returns a document_token to poll for results. Cost: 1 IAP credit per successful parse. |
| `ODOO_PARSE_BANK_STATEMENT` | Parse Bank Statement Document | Tool to submit a bank statement document for OCR parsing and data extraction via Odoo Extract API. Extracts balance_start, balance_end, date, and bank_statement_lines. Returns a document_token to poll for results. Cost: 1 IAP credit per successful parse. |
| `ODOO_PARSE_EXPENSE` | Parse Expense Document | Tool to submit an expense document for OCR parsing and data extraction. Extracts description, country, date, total, and currency from expense receipts. Returns a document_token to poll for results. Use when you need to process expense documents using Odoo's Extract API. |
| `ODOO_PARSE_INVOICE` | Parse Invoice Document | Tool to submit an invoice document for OCR parsing and data extraction via Odoo Extract API. Uses AI-based algorithms to extract fields like total, due date, invoice lines, VAT numbers, IBAN, supplier, client, and currency. Returns a document_token to poll for results. Cost: 1 IAP credit per successful parse. |
| `ODOO_UPDATE_RECORD` | Update Odoo Record | Generic tool to update records across any Odoo model via the JSON-2 API write endpoint. Updates one or more records with the specified field values. Supports all Odoo field types including relational fields with command tuples. Use this action when you need to modify existing records in any Odoo model (contacts, leads, orders, invoices, products, etc.). |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK
```python
pip install composio_openai
```

```typescript
npm install @composio/openai
```

#### Path 1, Step 2: Initialize Composio and Create Tool Router Session

Import and initialize Composio client, then create a Tool Router session
```python
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
openai = OpenAI()
session = composio.create(user_id='your-user-id')
```

```typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
```

#### Path 1, Step 3: Execute Odoo Tools via Tool Router with Your Agent

Get tools from Tool Router session and execute Odoo actions with your Agent
```python
tools = session.tools
response = openai.responses.create(
  model='gpt-4.1',
  tools=tools,
  input=[{
    'role': 'user',
    'content': 'List Odoo CRM opportunities in the New stage assigned to me'
  }]
)
result = composio.provider.handle_tool_calls(
  response=response,
  user_id='your-user-id'
)
print(result)
```

```typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'List Odoo CRM opportunities in the New stage assigned to me'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK for Python or TypeScript
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
```

#### Path 2, Step 2: Initialize Client and Create Tool Router Session

Import and initialize the Composio client, then create a Tool Router session for Odoo
```python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
```

```typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });
const session = await composio.create('your-user-id');
console.log(`Tool Router session created: ${session.mcp.url}`);
```

#### Path 2, Step 3: Connect to AI Agent

Use the MCP server with your AI agent (Anthropic Claude or Mastra)
```python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to Odoo tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('List Odoo CRM opportunities in the New stage assigned to me')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: session.mcp.url,
    headers: {
      'x-api-key': 'your-composio-api-key',
    },
  },
});

const tools = await client.tools();
const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{
    role: 'user',
    content: 'List Odoo CRM opportunities in the New stage assigned to me'
  }],
  maxSteps: 5,
});

console.log(`Agent: ${text}`);
```

## Why Use Composio?

### 1. AI Native Odoo Integration

- Supports both Odoo MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable Odoo tool execution
- Rich coverage for reading, writing, and querying CRM, sales, inventory, accounting, and project data

### 2. Managed Auth

- Secure API key handling so you don't have to hard-code Odoo credentials in agent code
- Central place to manage, scope, and revoke Odoo access
- Per user and per environment credentials for safer production deployments

### 3. Agent Optimized Design

- Odoo tools are shaped so agents can understand fields, records, and business actions more clearly
- Tools are tuned using real error and success rates to improve reliability over time
- Comprehensive execution logs so you always know what ran, when, and on whose behalf

### 4. Enterprise Grade Security

- Fine-grained RBAC so you control which agents and users can access Odoo
- Scoped, least privilege access to Odoo business resources
- Full audit trail of agent actions across leads, invoices, orders, inventory, and projects

## Use Odoo with any AI Agent Framework

Choose a framework you want to connect Odoo with:

- [OpenAI Agents SDK](https://composio.dev/toolkits/odoo/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/odoo/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/odoo/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/odoo/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/odoo/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/odoo/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/odoo/framework/hermes-agent)
- [Google ADK](https://composio.dev/toolkits/odoo/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/odoo/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/odoo/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/odoo/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/odoo/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/odoo/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/odoo/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/odoo/framework/autogen)

## Related Toolkits

- [Hubspot](https://composio.dev/toolkits/hubspot) - HubSpot is an all-in-one marketing, sales, and customer service platform. It lets teams nurture leads, automate outreach, and track every customer interaction in one place.
- [Pipedrive](https://composio.dev/toolkits/pipedrive) - Pipedrive is a sales management platform offering pipeline visualization, lead tracking, and workflow automation. It helps sales teams keep deals moving forward efficiently and never miss a follow-up.
- [Salesforce](https://composio.dev/toolkits/salesforce) - Salesforce is a leading CRM platform that helps businesses manage sales, service, and marketing. It centralizes customer data, enabling teams to drive growth and build strong relationships.
- [Apollo](https://composio.dev/toolkits/apollo) - Apollo is a CRM and lead generation platform that helps businesses discover contacts and manage sales pipelines. Use it to streamline customer outreach and track your deals from one place.
- [Attio](https://composio.dev/toolkits/attio) - Attio is a customizable CRM and workspace for managing your team's relationships and workflows. It helps teams organize contacts, automate tasks, and collaborate more efficiently.
- [Acculynx](https://composio.dev/toolkits/acculynx) - AccuLynx is a cloud-based roofing business management software for contractors. It streamlines project tracking, lead management, and document sharing.
- [Addressfinder](https://composio.dev/toolkits/addressfinder) - Addressfinder is a data quality platform for verifying addresses, emails, and phone numbers. It helps you ensure accurate customer and contact data every time.
- [Affinity](https://composio.dev/toolkits/affinity) - Affinity is a relationship intelligence CRM that helps private capital investors find, manage, and close more deals. It streamlines deal flow and surfaces key connections to help you win opportunities.
- [Agencyzoom](https://composio.dev/toolkits/agencyzoom) - AgencyZoom is a sales and performance platform built for P&C insurance agencies. It helps agents boost sales, retain clients, and analyze producer results in one place.
- [Bettercontact](https://composio.dev/toolkits/bettercontact) - Bettercontact is a smart contact enrichment tool for finding emails and phone numbers. It helps boost lead generation with automated, waterfall search across multiple sources.
- [Blackbaud](https://composio.dev/toolkits/blackbaud) - Blackbaud provides cloud-based software for nonprofits, schools, and healthcare institutions. It streamlines fundraising, donor management, and mission-driven operations.
- [Brilliant directories](https://composio.dev/toolkits/brilliant_directories) - Brilliant Directories is an all-in-one platform for building and managing online membership communities and business directories. It streamlines listings, member management, and engagement tools into a single, easy interface.
- [Capsule crm](https://composio.dev/toolkits/capsule_crm) - Capsule CRM is a user-friendly CRM platform for managing contacts and sales pipelines. It helps businesses organize relationships and streamline their sales process efficiently.
- [Centralstationcrm](https://composio.dev/toolkits/centralstationcrm) - CentralStationCRM is an easy-to-use CRM software focused on collaboration and long-term customer relationships. It helps teams manage contacts, deals, and communications all in one place.
- [Clientary](https://composio.dev/toolkits/clientary) - Clientary is a platform for managing clients, invoices, projects, proposals, and more. It streamlines client work and saves you serious admin time.
- [Close](https://composio.dev/toolkits/close) - Close is a CRM platform built for sales teams, combining calling, email automation, and predictive dialers. It streamlines sales workflows and boosts productivity with all-in-one communication tools.
- [Dropcontact](https://composio.dev/toolkits/dropcontact) - Dropcontact is a B2B email finder and data enrichment service for professionals. It delivers verified email addresses and enriches contact info with up-to-date data.
- [Dynamics365](https://composio.dev/toolkits/dynamics365) - Dynamics 365 is Microsoft's platform combining CRM, ERP, and productivity apps. It streamlines sales, marketing, service, and operations in one place.
- [Espocrm](https://composio.dev/toolkits/espocrm) - EspoCRM is an open-source web application for managing customer relationships. It helps businesses organize contacts, track leads, and streamline their sales process.
- [Fireberry](https://composio.dev/toolkits/fireberry) - Fireberry is a CRM platform that streamlines customer and sales management. It helps businesses organize contacts, automate sales, and integrate with other business tools.

## Frequently Asked Questions

### Do I need my own developer credentials to use Odoo with Composio?

Yes, Odoo requires you to configure your own API key. Once set up, Composio handles secure credential storage and API request handling for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
