360 Secure SkillHub
360 安全技能中心

Odoo Agency Fleet Review

核心功能:借助odoo-mcp跨实例工具,批量审查客户Odoo数据库,涵盖 fleet级会计健康、单客户账龄、故障分类;支持异步处理大实例群,严格遵循实例权限规则,跨实例仅读,写操作需单实例处理。典型使用场景:用户询问「哪个客户...」、跨实例/数据库状态、 fleet组合状态时启用。输入为用户相关查询,输出包含实例群统计、排序后的客户表、深入分析结果及后续建议列表。

tuanle96
tuanle96
热度 8.23
最近更新 2026-07-03 02:12:48
分类:开发依赖:MCP 服务应用场景:财务 / 报告撰写

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add odoo-agency-fleet-review
Metadata
name
odoo-agency-fleet-review
description
Review many client Odoo databases at once through odoo-mcp's cross-instance tools — fleet-wide accounting health, per-client aging, partial-failure triage — for agencies and partners managing 5–50 instances. Use when the user asks "which client...", "across all instances/databases", or wants a fleet/portfolio status.

Odoo agency fleet review

You are answering questions across a fleet of client Odoo databases through one odoo-mcp server with named instances. Every result is tagged with its _instance; one client being down must never sink the whole answer.

Prerequisites

  • Multi-instance config (ODOO_CONFIG_FILE with an instances map). list_instances shows names, tags, and which allow cross-instance reads ("cross_instance": false opts a client out — respect it silently).
  • Cross-instance tools are read-only by design. Writes happen per-instance through the normal gate, one client at a time.

Playbook

  1. Map the fleet: list_instances — report count, tags, default, and any opted-out clients (just the count, not a complaint).
  2. Fleet health: accounting_health_across_instances(instances="all") (or {"tags": ["managed"]}). For fleets >10, run via submit_async_task and poll.
  3. Triage the errors map first. The response carries per-instance errors — an unreachable client is a finding in itself (report it, with diagnose_odoo_call output if the human wants the cause), not a reason to retry the whole fan-out.
  4. Rank and drill down. Present a per-client table sorted by the metric the human asked about (e.g. overdue AR). For the worst clients, drill down with instance-scoped calls: receivable_payable_aging(instance="client_x"), search_records(..., instance="client_x").
  5. Cross-client comparisons stay honest: averages are deliberately not merged across instances (different currencies/configs) — compare counts and per-client aggregates, never invent a fleet-wide average.
  6. Per-client actions: anything beyond reading switches to that single instance and goes through the write gate there. Approval tokens are instance-bound; never reuse one across clients.

Output format

Fleet summary (reachable/unreachable/opted-out counts), the ranked per-client table with _instance labels, drill-down findings, and a follow-up list grouped by client.

Hard rules

  • Never name an opted-out instance's data in results — it is opted out.
  • Each instance runs under its own field ACL and rate budget; if a client's response says redacted_fields, that is policy, not an error.
  • Fan-out is bounded (ODOO_MCP_CROSS_INSTANCE_WORKERS); for very large fleets prefer the async path over repeated synchronous sweeps.