odoo
⚠Review·Scanned 2/17/2026
This skill integrates with Odoo to produce ledger-based financial reports and visualizations. It reads credentials from assets/autonomous-cfo/.env (ODOO_URL, ODOO_DB, ODOO_USER, ODOO_PASSWORD), makes RPC/network calls to configured Odoo endpoints, and executes a local openclaw agent subprocess for AI analysis.
from clawhub.ai·vc943571·247.8 KB·0 installs
Scanned from 2.0.2 at c943571 · Transparency log ↗
$ vett add clawhub.ai/ashrf-in/odooReview findings below
Autonomous CFO Engine (Odoo)
Purpose
Reliable, evidence-backed financial intelligence on top of Odoo for OpenClaw skills.
Reports (v2.0)
| Command | Description |
|---|---|
health | Financial health (cash, burn rate, runway) |
revenue | Revenue analytics (trends, top customers) |
aging | AR/AP aging report with overdue buckets |
expenses | Expense breakdown by vendor/category |
executive | One-page CFO snapshot (default) |
adhoc | Custom metric comparisons |
Output Formats
--output whatsapp- Dark theme 1080x1080 PNG cards--output pdf- Light theme A4 PDF reports--output both- Generate both (default for executive)
API Backends
json2(preferred on Odoo 19+)xmlrpc(fallback for older Odoo)autorouting incfo_cli.pychooses backend by server version
Dependencies
# Install in venv
python3 -m venv venv
./venv/bin/pip install -r requirements.txt
requirements.txt (pinned versions for reproducibility):
requests==2.32.3matplotlib==3.10.0pillow==11.1.0fpdf2==2.8.2
AI Runtime
AI analysis is routed through OpenClaw native local agent runtime (openclaw agent --local), not standalone Gemini API flows.
Key Files
src/connectors/odoo_client.py— JSON-2 + XML-RPC connectorsrc/tools/cfo_cli.py— command interfacesrc/logic/finance_engine.py— deterministic accounting logicsrc/logic/intelligence_engine.py— VAT/trend/anomaly orchestrationsrc/visualizers/— PDF, charts, WhatsApp cardssrc/reporters/— Report generatorssrc/reporters/ifrs.py— IFRS-compliant financial statements (IAS 1, IAS 7)
IFRS Reports
The FinancialStatementReporter class generates compliant financial statements for any jurisdiction:
- Statement of Financial Position (Balance Sheet)
- Statement of Profit or Loss (P&L)
- Statement of Cash Flows
Automatic Standard Detection:
# Auto-detect from company country
reporter.generate(company_id=1, ...)
# Force a specific standard
reporter.generate(company_id=1, standard="US_GAAP", ...)
Supported Standards:
- IFRS (International)
- US GAAP (United States)
- Ind-AS (India)
- UK GAAP (United Kingdom)
- SOCPA (Saudi Arabia)
- EU IFRS (European Union)
- CAS (China)
- JGAAP (Japan)
- ASPE (Canada)
- AASB (Australia)
Environment Variables
Required in .env:
ODOO_URL- Odoo instance URLODOO_DB- Database nameODOO_USER- UsernameODOO_PASSWORD- Password or API key
Notes
- Read-only by default (create/write/unlink blocked)
- Use
rpc-callfor advanced read-only queries only - See
AUDIT.mdfor known issues and recommendations