一键导入
odoo-hr
Odoo HR operations — manage employees, departments, and organizational structure.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Odoo HR operations — manage employees, departments, and organizational structure.
用 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-hr |
| description | Odoo HR operations — manage employees, departments, and organizational structure. |
| version | 1.0.0 |
| author | Hermes |
| license | MIT |
| platforms | ["linux","macos","windows"] |
| metadata | {"hermes":{"tags":["odoo","hr","employees","departments","organization"],"parent_skill":"odoo"}} |
Manage employees, departments, and organizational structure.
Prerequisite: odoo skill must be set up. ODOO = python scripts/odoo_api.py.
ODOO hr employees --limit 20
ODOO hr employees --department-id 2
ODOO hr get-employee 1
ODOO hr departments --limit 20
ODOO hr create-employee --name "Jane Smith"
ODOO hr statistics
{
$ODOO_DB: true,
"result": [
{
"id": 1,
"name": "John Doe",
"user_id": [2, "$ODOO_USER"],
"department_id": [2, "Engineering"],
"job_id": [5, "Software Engineer"],
"work_email": "john@company.com",
"work_phone": "+1-555-0100",
"parent_id": [1, "Manager Name"],
"coach_id": false
}
]
}
{
$ODOO_DB: true,
"result": [
{"id": 1, "name": "Management", "parent_id": false, "manager_id": [1, "CEO"]},
{"id": 2, "name": "Engineering", "parent_id": [1, "Management"], "manager_id": [3, "CTO"]}
]
}
{$ODOO_DB: true, "result": {"employees": 25, "departments": 5}}
| Model | Use |
|---|---|
hr.employee | Employees |
hr.department | Departments |
hr.job | Job positions |
user_id).parent_id forms a tree. Use child_of in domains for subtree queries.ODOO model hr.employee search --domain '[["department_id","=",2]]' --fields name,work_email,job_id,parent_id# 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 Hr
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\",\"hr.employee\",\"search_read\",[[]],{\"limit\":10,\"fields\":[["name", "department_id", "work_email"]]}},\"id\":2}"