一键导入
odoo-restaurant
Odoo Restaurant operations — manage restaurant floors, tables, and POS restaurant orders.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Odoo Restaurant operations — manage restaurant floors, tables, and POS restaurant orders.
用 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-restaurant |
| description | Odoo Restaurant operations — manage restaurant floors, tables, and POS restaurant orders. |
| version | 1.0.0 |
| author | Hermes |
| license | MIT |
| platforms | ["linux","macos","windows"] |
| metadata | {"hermes":{"tags":["odoo","restaurant","dining","tables","pos"],"parent_skill":"odoo"}} |
Manage restaurant floors, tables, and POS restaurant orders.
Prerequisite: odoo skill must be set up. ODOO = python scripts/odoo_api.py.
ODOO model pos.restaurant.floor search --fields name,pos_config_ids,table_ids,background_color
ODOO model pos.restaurant.floor read 1 --fields name,table_ids,background_color,pos_config_ids
ODOO model rest.table search --limit 20 --fields name,floor_id,seats,width,height,pos_x,pos_y,active,shape
ODOO model rest.table search --domain '[["floor_id","=",1]]' --fields name,seats,active,shape
ODOO model rest.table read 1 --fields name,floor_id,seats,width,height,pos_x,pos_y,active,shape,color
ODOO model pos.order search --domain '[["table_id","!=",false]]' --limit 20 --fields name,table_id,amount_total,state,date_order,user_id
ODOO model pos.order search --domain '[["table_id","=",1]]' --fields name,amount_total,state
| Model | Use |
|---|---|
restaurant.floor | Restaurant floor layouts |
restaurant.table | Individual tables on floors |
pos.order | POS orders (with table_id set) |
restaurant.table: table_number (required, integer), floor_id, seats, shape (square/round), width, height, position_h, position_v
restaurant.table has a floor_id referencing its floor. Tables are positioned via position_h/position_v.table_id set to track which table ordered.pos_config_ids on a floor determines which POS configurations serve that floor.table_number not name: The table's display name is derived from table_number and floor_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 tables
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\",\"restaurant.table\",\"search_read\",[[]],{\"limit\":10,\"fields\":[\"table_number\",\"floor_id\",\"seats\",\"shape\"]}]},\"id\":2}"