odoo
Full-featured Odoo 19 ERP connector for OpenClaw - Sales, CRM, Purchase, Inventory, Projects, HR, Fleet, Manufacturing (80+ operations, complete Python code included, XML-RPC integration).
What this skill does
# Odoo ERP Connector Full-featured Odoo 19 ERP integration for OpenClaw. Control your entire business via natural language chat commands. **๐ฆ Full Source Code:** https://github.com/NullNaveen/openclaw-odoo-skill ## Quick Install \ash npx clawhub install odoo-erp-connector \ ## Overview The Odoo ERP Connector bridges OpenClaw and Odoo 19, enabling autonomous, chat-driven control over 153+ business modules including: - Sales & CRM - Purchasing & Inventory - Invoicing & Accounting - Projects & Task Management - Human Resources - Fleet Management - Manufacturing (MRP) - Calendar & Events - eCommerce All operations use **smart actions** that handle fuzzy matching and auto-creation workflows. ## Capabilities ### Sales & CRM - Create quotations with dynamic line items - Manage sales orders (draft โ confirmed โ done) - Search and filter orders by status, customer, date range - Create and qualify leads and opportunities - Move leads through CRM pipeline stages - View full sales pipeline with revenue forecasting ### Purchasing - Create purchase orders from vendors - Manage PO status (draft โ purchase โ received) - Receive and validate goods - Search and filter POs by vendor, status, date - Track purchase history and vendor performance ### Inventory & Products - Create products (consumables, stockable, services) - Query stock levels and availability - Set reorder points and receive low-stock alerts - Search products by name, code, or category - Track stock movements and valuations ### Invoicing & Accounting - Create and post customer invoices - Manage payment terms and schedules - Query unpaid and overdue invoices - Search by customer, date range, or amount - Track invoice status (draft โ posted โ paid) ### Projects & Tasks - Create projects and organize by team/status - Create tasks with priority, dates, and assignments - Log timesheets and track project hours - Search and filter tasks by project, status, assignee - Manage project stages and closure ### Human Resources - Create employees and departments - Manage job titles and work schedules - Process expense reports and reimbursements - Search employees by name, department, job - Track leave requests and attendance ### Fleet Management - Create and track vehicles - Log odometer readings and service records - Track maintenance schedules and costs - Search fleet by license plate, status, brand - Generate fleet reports ### Manufacturing (MRP) - Create Bills of Materials (BOMs) - Manage manufacturing orders (MOs) - Track component requirements and production status - Search MOs by product or status - Link BOMs to product variants ### Calendar & Events - Create meetings and events with attendees - Set reminders and locations - Search events by date range or attendee - Track calendar availability ### eCommerce - Publish products to website - View website orders and customer activity - Manage product visibility and pricing ## Command Examples ### Sales - "Create a quotation for Acme Corp with 10 Widgets at $50 each" - "Confirm sales order SO00042" - "Show me all draft quotations from the past week" - "What's the total revenue from completed orders this month?" - "Create a quote for Rocky with product Rock" ### CRM - "Create a lead for Rocky, email [email protected], potential $50k deal" - "Move lead #47 to Qualified stage" - "Show me the sales pipeline with all open opportunities" - "What leads are at proposal stage?" - "Create an opportunity for Acme with $100k expected value" ### Purchasing - "Create a PO for 500 widgets from Supplier ABC" - "Confirm purchase order PO00123" - "Show all pending purchase orders" - "Get me the vendor history for ABC Supplies" - "What's on order that's overdue?" ### Inventory & Products - "Create a new product: TestWidget, $25 price, min stock 10" - "Show products with stock below 20 units" - "What's the stock level for Widget X?" - "Search for all consumable products" - "Set reorder point for Product Y to 50 units" ### Invoicing - "Create an invoice for Acme Corp with 5 units at $50 each" - "Show me unpaid invoices" - "What invoices are overdue?" - "Post invoice INV-001" - "Send a reminder for invoice INV-002" ### Projects & Tasks - "Create a project called Website Redesign" - "Create a task 'Fix login button' in Website Redesign project" - "Show me all tasks assigned to me" - "Log 3 hours of work on task #42" - "What's the status of the Website Redesign project?" ### HR - "Create employee John Smith, job title Developer" - "Create department Engineering" - "Show me all employees in Engineering" - "Submit expense report for $45.99" - "What are the pending leave requests?" ### Fleet - "Create vehicle: Tesla Model 3, license plate TESLA-001" - "Log odometer reading: 50,000 miles for vehicle #1" - "Show all vehicles with service due" - "What's the maintenance cost for this month?" - "Search for blue vehicles" ### Manufacturing - "Create BOM: Widget contains 3 Components A and 2 Components B" - "Create manufacturing order: produce 50 Widgets" - "Confirm production order #1" - "What's the status of MO-001?" - "Show all in-progress manufacturing orders" ### Calendar - "Create meeting: Team Standup, tomorrow at 10am, 1 hour" - "Show me my meetings for next week" - "What events do I have on the 15th?" - "Schedule a 2-hour planning session with the team" ### eCommerce - "Publish Widget X to the website" - "Show me website orders from this week" - "What's my website revenue?" ## Smart Actions The connector handles fuzzy/incomplete requests with intelligent find-or-create logic. ### How Smart Actions Work **Example:** "Create quotation for Rocky with product Rock" The system: 1. **Searches** for a customer named "Rocky" (case-insensitive, `ilike` matching) 2. **If not found**: Creates a new customer "Rocky" (auto-company flag) 3. **Searches** for product "Rock" 4. **If not found**: Creates a basic product "Rock" (consumable type, default price $0) 5. **Creates** the quotation, linking both the found/created customer and product 6. **Reports** what was found vs. created: - "Created quotation QT-001 for new customer Rocky with 1 ร Rock at $0.00" This pattern applies across all smart actions: - `smart_create_quotation()` โ customer + products - `smart_create_purchase()` โ vendor + products - `smart_create_lead()` โ partner (optional) - `smart_create_task()` โ project + task - `smart_create_employee()` โ department - `smart_create_event()` โ event only (no dependencies) ### Benefits - **Fuzzy matching**: Searches are case-insensitive and forgiving - **Auto-creation**: Missing dependencies are created automatically - **Transparency**: Each response explains what was created vs. found - **No IDs needed**: Use names instead of Odoo IDs - **Batch operations**: Create multiple related records in one call ## Architecture ### Core Components **OdooClient** โ Low-level XML-RPC wrapper - Connects to Odoo 19 instance - Handles authentication via API key - Provides `search()`, `read()`, `create()`, `write()`, `unlink()` methods - Built-in retry logic and error handling **Model Ops Classes** โ Business logic for each module - `PartnerOps` โ Customers/suppliers - `SaleOrderOps` โ Quotations and sales orders - `InvoiceOps` โ Customer invoices - `InventoryOps` โ Products and stock - `CRMOps` โ Leads and opportunities - `PurchaseOrderOps` โ POs and vendors - `ProjectOps` โ Projects and tasks - `HROps` โ Employees, departments, expenses - `ManufacturingOps` โ BOMs and MOs - `CalendarOps` โ Events and meetings - `FleetOps` โ Vehicles and odometer - `EcommerceOps` โ Website orders and products **SmartActionHandler** โ High-level natural-language interface - Wraps all Ops classes - Implements find-or-create workflows - Fuzzy name matchi
Related in Sales & CRM
process-mapper
IncludedUse when a BizOps lead, COO, or process-improvement owner needs to document an end-to-end business process (procurement, employee onboarding, incident handoff, customer-onboarding, claims adjudication) in BPMN-style notation, measure cycle times by stage, surface where work spends most of its time waiting vs. being worked, and quantify the gap between processing time and total elapsed time. Pairs Lean / Six Sigma / Theory-of-Constraints canon with deterministic stdlib-only Python tools to produce a process map, a ranked bottleneck list (with severity + root-cause hypothesis), and a cycle-time analysis (P50, P90, value-add ratio, Little's-Law throughput). Distinct from sales-pipeline, system-reliability (SLO), and strategic-OKR work โ this is tactical process documentation for internal operations.
payment-integration
IncludedIntegrate payments with SePay (VietQR), Polar, Stripe, Paddle (MoR subscriptions), Creem.io (licensing). Checkout, webhooks, subscriptions, QR codes, multi-provider orders.
customer-success-manager
IncludedMonitors customer health, predicts churn risk, and identifies expansion opportunities using weighted scoring models for SaaS customer success
sales-engineer
IncludedAnalyzes RFP/RFI responses for coverage gaps, builds competitive feature comparison matrices, and plans proof-of-concept (POC) engagements for pre-sales engineering. Use when responding to RFPs, bids, or proposal requests; comparing product features against competitors; planning or scoring a customer POC or sales demo; preparing a technical proposal; or performing win/loss competitor analysis. Handles tasks described as 'RFP response', 'bid response', 'proposal response', 'competitor comparison', 'feature matrix', 'POC planning', 'sales demo prep', or 'pre-sales engineering'.
customer-success-manager
IncludedMonitors customer health, predicts churn risk, and identifies expansion opportunities using weighted scoring models for SaaS customer success
sales-engineer
IncludedAnalyzes RFP/RFI responses for coverage gaps, builds competitive feature comparison matrices, and plans proof-of-concept (POC) engagements for pre-sales engineering. Use when responding to RFPs, bids, or proposal requests; comparing product features against competitors; planning or scoring a customer POC or sales demo; preparing a technical proposal; or performing win/loss competitor analysis. Handles tasks described as 'RFP response', 'bid response', 'proposal response', 'competitor comparison', 'feature matrix', 'POC planning', 'sales demo prep', or 'pre-sales engineering'.