一键导入
odoo-data-recycle
Odoo Data Recycle operations — view and restore deleted records across the system.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Odoo Data Recycle operations — view and restore deleted records across the system.
用 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-data-recycle |
| description | Odoo Data Recycle operations — view and restore deleted records across the system. |
| version | 1.0.0 |
| author | Hermes |
| license | MIT |
| platforms | ["linux","macos","windows"] |
| metadata | {"hermes":{"tags":["odoo","data-recycle","trash","restore","deleted-records"],"parent_skill":"odoo"}} |
View and restore soft-deleted records across the system.
Prerequisite: odoo skill must be set up. ODOO = python scripts/odoo_api.py.
ODOO model data_recycle.record search --limit 20 --fields res_model,res_id,display_name,deleted_date,deleted_by,restored
ODOO model data_recycle.record search --domain '[["restored","=",false]]' --fields res_model,res_id,display_name,deleted_date
ODOO model data_recycle.record read 1 --fields res_model,res_id,display_name,deleted_date,deleted_by,restored,json_data
ODOO model data_recycle.record read 1 --fields res_model,res_id,display_name,json_data
ODOO model data_recycle.record restore 1
ODOO model data_recycle.record count --domain '[["restored","=",false]]'
| Model | Use |
|---|---|
data_recycle.record | Soft-deleted records |
data_recycle.model are tracked for soft deletion.json_data field contains the full record before deletion. Use python3 -c "import json;print(json.dumps(json.loads(data),indent=2))" for readable output.# 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 deleted records
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\",\"data_recycle.record\",\"search_read\",[[]],{\"limit\":10,\"fields\":[\"res_model\",\"display_name\",\"deleted_date\"]}]},\"id\":2}"