一键导入
odoo-purchase
Odoo Purchase operations — manage RFQs, purchase orders, order lines, and vendor interactions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Odoo Purchase operations — manage RFQs, purchase orders, order lines, and vendor interactions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Odoo ERP integration for all 37 business modules. Entry point for Odoo operations — CRM, Sales, Inventory, Manufacturing, Purchase, Accounting, HR, Expenses, Contacts, Calendar, Discuss, Project, Timesheets, Time Off, Attendances, Recruitment, Fleet, Email Marketing, Events, Website, Link Tracker, Dashboards, POS, Delivery, Loyalty, Payments, SMS, Live Chat, Maintenance, Survey, Forum, eLearning, Planning, Restaurant, Certificate, and Data Recycle.
Cross-skill workflow: Odoo ERP health audit, infographic summary, PPTX report, and email delivery via Gmail.
Odoo Accounting operations — manage invoices, bills, journal entries, payments, and financial reports.
Odoo Attendances operations — manage employee check-ins, check-outs, and attendance records.
Odoo Calendar operations — manage events, meetings, and attendee tracking.
Odoo Certificate operations — manage certificates, templates, and certificate issuance.
| name | odoo-purchase |
| description | Odoo Purchase operations — manage RFQs, purchase orders, order lines, and vendor interactions. |
| version | 1.0.0 |
| author | Hermes |
| license | MIT |
| platforms | ["linux","macos","windows"] |
| metadata | {"hermes":{"tags":["odoo","purchase","rfqs","procurement","vendors"],"parent_skill":"odoo"}} |
Manage requests for quotation (RFQs), purchase orders (POs), and vendor procurement.
Prerequisite: odoo skill must be set up. ODOO = python scripts/odoo_api.py.
ODOO purchase list-rfqs --limit 20
ODOO purchase list-rfqs --partner-id 3
ODOO purchase list-orders --limit 20
ODOO purchase list-orders --state done
ODOO purchase get 30
ODOO purchase create --partner-id 3
With lines:
ODOO purchase create --partner-id 3 --order-lines '[{"product_id":10,"product_qty":50,"price_unit":12.5}]'
ODOO purchase confirm 30
ODOO purchase cancel 30
ODOO purchase order-lines 30
ODOO purchase statistics
{
$ODOO_DB: true,
"result": [
{
"id": 30,
"name": "P00030",
"partner_id": [3, "Best Supplies Ltd"],
"date_order": "2026-05-11",
"date_planned": "2026-05-20",
"state": "draft",
"amount_total": 3125.0,
"currency_id": [1, "USD"],
"user_id": [2, "$ODOO_USER"],
"origin": ""
}
]
}
{$ODOO_DB: true, "result": true}
{
$ODOO_DB: true,
"result": {"draft_rfq": 3, "sent": 1, "confirmed": 8, "done": 25}
}
| Model | Use |
|---|---|
purchase.order | RFQs and purchase orders |
purchase.order.line | Individual order lines |
draft → sent → purchase → done
↘ cancel
supplier_rank > 0. Check with ODOO contacts get <partner_id> and update with ODOO model res.partner write <partner_id> '{"supplier_rank": 1}' if needed.ODOO model purchase.order read 30 --fields partner_id,date_planned,order_line,amount_totalODOO model product.product create '{"name": "Product Name", "type": "consu", "default_code": "CODE-001"}'create --order-lines fails, create PO first then add lines via ODOO model purchase.order.line createsupplier_rank > 0 to appear in purchase orders# Authenticate
UID=$(curl -s -X POST $ODOO_URL/jsonrpc -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"call","params":{"service":"common","method":"authenticate","args":[$ODOO_DB,"$ODOO_USER","$ODOO_PASS",{}]},"id":1}' | python3 -c "import sys,json;print(json.load(sys.stdin)['result'])")
# List Purchase
curl -s -X POST $ODOO_URL/jsonrpc -H "Content-Type: application/json" -d "{\"jsonrpc\":\"2.0\",\"method\":\"call\",\"params\":{\"service\":\"object\",\"method\":\"execute_kw\",\"args\":[\"$ODOO_DB\",$UID,\"$ODOO_PASS\",\"purchase.order\",\"search_read\",[[]],{\"limit\":10,\"fields\":[["name", "partner_id", "amount_total", "state"]]}},\"id\":2}"