Back to Documentation
Integration25 min read
Connecting Odoo ERP to Craveva
Integrate Odoo ERP system with Craveva AI for comprehensive business management and automation.
Connecting Odoo ERP to Craveva
Overview
Odoo is an open-source ERP system that manages sales, inventory, accounting, HR, and more. Connect Odoo to Craveva AI to automate business processes, analyze operations, and gain insights across all departments.
Prerequisites
- Active Odoo instance (cloud or self-hosted)
- Odoo API access enabled
- API credentials (API Key or OAuth)
- Craveva AI account
Step 1: Enable Odoo API Access
For Odoo Cloud:
- Log in to your Odoo account
- Go to Settings → API Keys
- Click Create API Key
- Name it "Craveva AI Integration"
- Copy the generated API key
For Self-Hosted Odoo:
- Enable API access in Odoo settings
- Create API user with appropriate permissions
- Generate API key for the user
- Note your Odoo instance URL
Step 2: Connect Odoo in Craveva
- Log in to Craveva AI dashboard
- Navigate to Data Sources → Connect New Data Source
- Select REST API connector
- Choose ERP Systems category
- Enter connection details:
- Click Test Connection
- If successful, click Save
- - Name: "Odoo ERP"
- - Base URL: Your Odoo instance URL (e.g.,
https://yourcompany.odoo.com) - - Auth Type: API Key
- - API Key: Your Odoo API key
- - Database: Your Odoo database name
- - Username: Your Odoo username
Step 3: Configure Odoo Endpoints
Odoo uses XML-RPC or JSON-RPC. Map these endpoints:
- Sales Orders:
/xmlrpc/2/object- Sales order management - Products:
/xmlrpc/2/object- Product catalog - Inventory:
/xmlrpc/2/object- Stock management - Customers:
/xmlrpc/2/object- Customer records - Invoices:
/xmlrpc/2/object- Invoice management - Employees:
/xmlrpc/2/object- HR data
Step 4: Create Odoo Agents
Sales Management Agent
- Track sales orders
- Monitor sales pipeline
- Predict revenue
- Optimize sales process
Inventory Agent
- Monitor stock levels
- Predict stockouts
- Optimize reordering
- Track inventory costs
Financial Agent
- Generate financial reports
- Track cash flow
- Analyze profitability
- Monitor expenses
HR Agent
- Track employee data
- Monitor attendance
- Manage payroll
- Analyze workforce
Available Data
- Sales orders and quotations
- Products and inventory
- Customers and suppliers
- Invoices and payments
- Employees and HR data
- Projects and tasks
- Financial reports
Use Cases
Unified Business Management
- Connect all business modules
- Unified analytics dashboard
- Cross-department insights
- Automated workflows
Inventory Optimization
- Real-time stock monitoring
- Automated reordering
- Waste reduction
- Cost optimization
Financial Management
- Automated accounting
- Cash flow forecasting
- Financial reporting
- Budget tracking
Troubleshooting
Connection Failed?
- Verify Odoo URL is correct
- Check API key is valid
- Ensure API access is enabled
- Verify database name
Authentication Errors?
- Check API key format
- Verify username and database
- Ensure user has API access
- Try regenerating API key
No Data Showing?
- Check Odoo has data
- Verify API permissions
- Ensure date filters are correct
- Wait for data sync
Next Steps
- Set up business dashboards
- Create automated workflows
- Build cross-module analytics
- Integrate with other systems
Related Guides
Connecting Qashier POS to Craveva
Step-by-step guide to integrate your Qashier POS system with Craveva AI for real-time sales data and...
Getting Started with Agent Builder
Your first AI agent in 5 minutes. Learn the basics of creating, configuring, and deploying agents....
Understanding Billing and Usage Tracking
Monitor LLM costs, track usage by agent, and manage credit balances effectively....