> ## Documentation Index
> Fetch the complete documentation index at: https://ai-kb.automationanywhere.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Odoo ERP

> ERP capabilities including inventory, sales, and accounting

## Configuración

Configure Odoo ERP integration to access CRM, sales, inventory, and business data. The toolkit enables search, create, update, and manage records.

<img src="https://mintcdn.com/automationanywhere/RfM0IZSr51luSoHU/img/agents-toolkits/36.1.jpg?fit=max&auto=format&n=RfM0IZSr51luSoHU&q=85&s=06f1d10541b6394f7ecf7368272d4d2d" alt="Odoo ERP configuration with connection settings and Data Access/Management tools" width="1280" height="631" data-path="img/agents-toolkits/36.1.jpg" />

<img src="https://mintcdn.com/automationanywhere/RfM0IZSr51luSoHU/img/agents-toolkits/36.2.jpg?fit=max&auto=format&n=RfM0IZSr51luSoHU&q=85&s=4535244a876aa4792189d3dd4fd16120" alt="Odoo ERP Schema and Helpdesk tools" width="1280" height="169" data-path="img/agents-toolkits/36.2.jpg" />

* **Connection**: No Odoo connections found. Please create a connection in the Settings → Connectors page first.
* **Access**: ERP capabilities including inventory, sales, purchasing, accounting, and HR management.
* **Supports**: Odoo SaaS and self-hosted (12+).

## Available Tools (7/7)

* **Search Records**: Query any Odoo model with filters.
* **Read Record**: Retrieve record data by IDs.
* **Create Record**: Insert new records.
* **Update Record**: Modify existing records.
* **Delete Record**: Remove records from system.
* **List Models**: View available Odoo models.
* **Helpdesk (Create Ticket)**: Create support tickets.

## Casos de Uso

* **Inventory Management**: Real-time stock tracking and warehouse optimization.
* **Sales Order Processing**: Automated order creation.
* **Automated Invoicing**: Generate and send invoices.
* **Purchase Automation**: Create purchase orders automatically.
* **Reporting**: Extract financial, sales, or inventory data.

## Mejores Prácticas

* **Use External IDs**: Assign external IDs to records for stable cross-system references.
* **Batch Operations**: Use search\_read and write on multiple IDs to reduce API calls.
* **Field Selection**: Always specify fields to read rather than retrieving all fields.
* **Domain Filters**: Use efficient domain expressions for searches (\[('field', 'operator', 'value')]).
* **Context Usage**: Pass appropriate context for multi-company, language, or special behavior.
* **Error Handling**: Check workflow states before calling action methods (confirm, validate).

## Common Models

* **sale.order** - Sales Orders
* **purchase.order** - Purchase Orders
* **res.partner** - Customers/Suppliers
* **product.product** - Products
* **stock.picking** - Delivery/Receipt Orders
* **account.move** - Invoices/Bills
* **account.payment** - Payments
* **stock.quant** - Inventory Quantities

## Common Issues & Solutions

* **Access Denied**: User lacks access rights for model. Check security groups and permissions.
* **Validation Error**: Required fields missing or workflow state incorrect. Review model constraints.
* **Record Not Found**: Verify record ID exists and user has read access.
* **Method Not Found**: Ensure method exists on model and is callable via XML-RPC.
