一键导入
odoo-contacts
Odoo Contacts operations — manage companies, individuals, addresses, and partner data.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Odoo Contacts operations — manage companies, individuals, addresses, and partner data.
用 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-contacts |
| description | Odoo Contacts operations — manage companies, individuals, addresses, and partner data. |
| version | 1.0.0 |
| author | Hermes |
| license | MIT |
| platforms | ["linux","macos","windows"] |
| metadata | {"hermes":{"tags":["odoo","contacts","partners","companies","addresses"],"parent_skill":"odoo"}} |
Manage companies, individual contacts, addresses, and partner relationships.
Prerequisite: odoo skill must be set up. ODOO = python scripts/odoo_api.py.
ODOO contacts list --limit 20
ODOO contacts list --is-company true
ODOO contacts list --is-company false --limit 50
ODOO contacts search "Acme" --limit 10
ODOO contacts get 3
ODOO contacts create --name "Acme Corp" --is-company true --email "info@acme.com" --phone "+1-555-0100"
ODOO contacts create --name "Jane Smith" --is-company false --email "jane@acme.com" --phone "+1-555-0101" --parent-id 3
ODOO contacts update 3 '{"phone": "+1-555-0200", "city": "New York"}'
ODOO contacts delete 15
Always confirm with the user before deleting.
ODOO contacts statistics
{
$ODOO_DB: true,
"result": [
{
"id": 3,
"name": "Acme Corp",
"email": "info@acme.com",
"phone": "+1-555-0100",
"customer_rank": 1,
"supplier_rank": 0,
"is_company": true,
"type": "contact",
"street": "123 Main St",
"city": "New York",
"create_date": "2026-01-15"
}
]
}
{
$ODOO_DB: true,
"result": [
{
"id": 3,
"name": "Acme Corp",
"email": "info@acme.com",
"phone": "+1-555-0100",
"mobile": null,
"website": "https://acme.com",
"is_company": true,
"parent_id": false,
"type": "contact",
"street": "123 Main St",
"street2": null,
"city": "New York",
"zip": "10001",
"state_id": [12, "New York"],
"country_id": [233, "United States"],
"vat": null,
"comment": null,
"customer_rank": 1,
"supplier_rank": 0
}
]
}
{
$ODOO_DB: true,
"result": {"total": 150, "companies": 45, "individuals": 105, "customers": 30, "suppliers": 12}
}
| Model | Use |
|---|---|
res.partner | Companies and individual contacts |
res.country | Countries |
res.country.state | States/provinces |
true = company, false = individual. Company contacts can have child contacts (parent_id).0 = not a customer/supplier, 1 = is one. Multi-company setups may use higher numbers.ODOO model res.partner search --domain '[["customer_rank",">",0]]' --fields name,email,phone,citysupplier_rank > 0. Create with ODOO contacts create --is-company true then update with ODOO model res.partner write <partner_id> '{"supplier_rank": 1}'.supplier_rank set to appear in purchase ordersis_company: true for supplier entities, false for individual contacts1 is sufficient for single-company# 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 Contacts
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\",\"res.partner\",\"search_read\",[[]],{\"limit\":10,\"fields\":[["name", "email", "phone", "is_company"]]}},\"id\":2}"