一键导入
odoo-discuss
Odoo Discuss operations — read/send messages, manage followers, and track activities.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Odoo Discuss operations — read/send messages, manage followers, and track activities.
用 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-discuss |
| description | Odoo Discuss operations — read/send messages, manage followers, and track activities. |
| version | 1.0.0 |
| author | Hermes |
| license | MIT |
| platforms | ["linux","macos","windows"] |
| metadata | {"hermes":{"tags":["odoo","discuss","messages","chat","activities","followers"],"parent_skill":"odoo"}} |
Read/send messages, manage followers, and track activities across any Odoo record.
Prerequisite: odoo skill must be set up. ODOO = python scripts/odoo_api.py.
ODOO discuss messages --model sale.order --res-id 12 --limit 20
ODOO discuss messages --model crm.lead --res-id 7
ODOO discuss send --model crm.lead --res-id 7 --body "Called the client — they want a demo next week."
ODOO discuss followers --model sale.order --res-id 12
ODOO discuss activities --limit 20
ODOO discuss activities --user-id 2
ODOO discuss statistics
{
$ODOO_DB: true,
"result": [
{
"id": 52,
"subject": false,
"body": "Called the client — they want a demo next week.",
"email_from": "$ODOO_USER",
"author_id": [2, "$ODOO_USER"],
"date": "2026-05-11 14:30:00",
"model": "crm.lead",
"res_id": 7,
"message_type": "comment",
"record_name": "Acme Corp Deal"
}
]
}
{$ODOO_DB: true, "result": 53}
{
$ODOO_DB: true,
"result": [
{"id": 5, "partner_id": [2, "$ODOO_USER"]},
{"id": 6, "partner_id": [3, "Acme Corp"]}
]
}
{
$ODOO_DB: true,
"result": [
{
"id": 18,
"activity_type_id": [1, "Email"],
"summary": "Send proposal to Acme Corp",
"date_deadline": "2026-05-15",
"user_id": [2, "$ODOO_USER"],
"res_model": "crm.lead",
"res_id": 7,
"res_name": "Acme Corp Deal"
}
]
}
{$ODOO_DB: true, "result": {"messages": 450, "activities": 12}}
| Model | Use |
|---|---|
mail.message | Messages (comments, emails, notes) |
mail.activity | Activities/tasks linked to records |
mail.activity.type | Activity categories (Email, Call, Meeting, To-Do) |
mail.followers | Record followers |
| Type | Description |
|---|---|
comment | Manual message sent via Discuss |
notification | Automated notification (stage change, assignment) |
email | Outbound/inbound email |
model (technical name) and res_id (ID).ODOO model mail.message search --domain '[["model","=","crm.lead"],["res_id","=",7]]' --limit 50 --order date asc --fields subject,body,author_id,date# 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 Discuss
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\",\"mail.message\",\"search_read\",[[]],{\"limit\":10,\"fields\":[["subject", "body", "author_id", "date"]]}},\"id\":2}"