odoo
Use when the user asks for Odoo accounting audits, VAT/cashflow analysis, inventory valuation, or financial reporting that must come directly from Odoo via RPC with reproducible, evidence-backed numbers.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- odoo
- description
- Use when the user asks for Odoo accounting audits, VAT/cashflow analysis, inventory valuation, or financial reporting that must come directly from Odoo via RPC with reproducible, evidence-backed numbers.
02 资源文件 15
- 参考文档_meta.json631 B
- 资产文件assets/autonomous-cfo/config/settings.json415 B
- 资产文件assets/autonomous-cfo/README.md1.3 KB
- 资产文件assets/autonomous-cfo/requirements.txt35 B
- 脚本assets/autonomous-cfo/src/__init__.py—
- 脚本assets/autonomous-cfo/src/connectors/odoo_client.py14.6 KB
- 脚本assets/autonomous-cfo/src/logic/finance_engine.py3.7 KB
- 脚本assets/autonomous-cfo/src/logic/intelligence_engine.py8.2 KB
- 脚本assets/autonomous-cfo/src/logic/openclaw_intelligence.py2.1 KB
- 脚本assets/autonomous-cfo/src/runtime_env.py678 B
- 脚本assets/autonomous-cfo/src/tools/cfo_cli.py9.9 KB
- 脚本assets/autonomous-cfo/src/tools/visualizer.py1.0 KB
- 许可证LICENSE1.0 KB
- 参考文档SOURCE.md362 B
- 参考文档TRUST.auto.yaml2.2 KB
03 SKILL.md 正文
Odoo Financial Intelligence (Read-Only, Evidence-First)
Use this skill for deterministic Odoo financial reporting.
Hard Rules
- Odoo RPC output is the source of truth; AI text is advisory.
- Skill is strict read-only. Mutating methods are blocked (
create,write,unlink, and similar actions). - No proactive Odoo actions unless explicitly requested in-session.
- Every material number must include method/scope assumptions.
Entrypoint
python3 ./skills/odoo/assets/autonomous-cfo/src/tools/cfo_cli.py
Runtime/Backend Policy
--rpc-backend auto(default): prefers JSON-2 for Odoo 19+, falls back to XML-RPC.--rpc-backend json2--rpc-backend xmlrpc
Quick health check:
python3 ./skills/odoo/assets/autonomous-cfo/src/tools/cfo_cli.py doctor
Required Environment
From assets/autonomous-cfo/.env:
ODOO_URLODOO_DBODOO_USERODOO_PASSWORD
Recommended: use Odoo API key as ODOO_PASSWORD and least-privilege bot user.
Primary Workflows
python3 ./skills/odoo/assets/autonomous-cfo/src/tools/cfo_cli.py summary --days 30
python3 ./skills/odoo/assets/autonomous-cfo/src/tools/cfo_cli.py cash_flow
python3 ./skills/odoo/assets/autonomous-cfo/src/tools/cfo_cli.py vat --date-from YYYY-MM-DD --date-to YYYY-MM-DD
python3 ./skills/odoo/assets/autonomous-cfo/src/tools/cfo_cli.py trends --months 12 --visualize
python3 ./skills/odoo/assets/autonomous-cfo/src/tools/cfo_cli.py anomalies
python3 ./skills/odoo/assets/autonomous-cfo/src/tools/cfo_cli.py anomalies --ai
python3 ./skills/odoo/assets/autonomous-cfo/src/tools/cfo_cli.py ask "..."
python3 ./skills/odoo/assets/autonomous-cfo/src/tools/cfo_cli.py rpc-call --model <model> --method <read_method> --payload '<json>'
Useful controls:
--company-idfor single-entity scope--lang,--tzfor consistent localization--timeout,--retriesfor network stability
Accuracy Protocol (Mandatory)
Before final output, always:
- Declare scope (date range, states, company).
- Declare method (models/domains/fields used).
- Cross-check key totals through one alternate view.
- State currency handling explicitly.
- Note assumptions and unresolved ambiguities.
If checks disagree, report as provisional and drill down.
VAT Protocol
Minimum output:
output_vatinput_vatnet_vat_liability = output_vat - input_vat
Rules:
- posted tax lines only (unless user requests otherwise)
- explicit handling for refunds/credit notes
- mention localization caveats if custom tax setup exists
Edge-Case Checklist
- Multi-company leakage (must isolate when requested)
- Timezone boundary drift (month/day close)
- Draft contamination
- Large dataset partial reads (use pagination)
- Concurrent updates between calls
- JSON-2 per-call transaction semantics
- Custom fields/localization mismatches (
fields_get) - Negative/reversal lines and null refs in anomaly logic
AI Guardrails
Allowed: narrative, prioritization, risk commentary.
Not allowed: replacing deterministic numbers or claiming audited certainty without evidence.
For AI-assisted output, include source scope + deterministic basis + confidence.
Output Contract
Use this structure in user-facing reports:
- Executive summary
- Key numbers
- Method and scope
- Confidence level
- Actionable next steps
Failure Handling
On failure:
- Return exact error class and context.
- Suggest one concrete remediation step.
- Re-run
doctorif connection/auth/model access is suspect. - Never fabricate fallback financial values.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.