一键导入
odoo-fleet
Odoo Fleet operations — manage vehicles, contracts, and vehicle logs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Odoo Fleet operations — manage vehicles, contracts, and vehicle logs.
用 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-fleet |
| description | Odoo Fleet operations — manage vehicles, contracts, and vehicle logs. |
| version | 1.0.0 |
| author | Hermes |
| license | MIT |
| platforms | ["linux","macos","windows"] |
| metadata | {"hermes":{"tags":["odoo","fleet","vehicles","contracts"],"parent_skill":"odoo"}} |
Manage vehicles, contracts, and service logs.
Prerequisite: odoo skill must be set up. ODOO = python scripts/odoo_api.py.
ODOO model fleet.vehicle search --limit 20 --fields name,driver_id,license_plate,model_id,active
ODOO model fleet.vehicle read 1 --fields name,driver_id,license_plate,model_id,active,odometer,description
ODOO model fleet.vehicle create '{"name":"Toyota Camry","model_id":1,"license_plate":"ABC-1234"}'
ODOO model fleet.vehicle.log.contract search --limit 20 --fields name,vehicle_id,start_date,expiration_date,state,amount
Note: fleet.vehicle has no direct state field in Odoo 19. Use active (boolean) to filter active/inactive vehicles. Vehicle contract states (futur, open, expired, closed) are on fleet.vehicle.log.contract.state.
| Model | Use |
|---|---|
fleet.vehicle | Vehicles |
fleet.vehicle.model | Vehicle models |
fleet.vehicle.log.contract | Contracts/insurance |
# 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 Fleet
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\",\"fleet.vehicle\",\"search_read\",[[]],{\"limit\":10,\"fields\":[\"name\",\"driver_id\",\"license_plate\",\"active\"]}]},\"id\":2}"