Files
Odoo-Modules/fusion_accounting_ai
gsinghpal 123db4219f feat(fusion_accounting_ai): add LLMProvider contract + configurable openai base_url
Phase 1 prerequisite for local LLM support. Adapters now declare
capability flags (supports_tool_calling, max_context_tokens, etc.) so
the engine can reason about what backend is available.

OpenAI adapter accepts fusion_accounting.openai_base_url config -- point
it at LM Studio (http://host.docker.internal:1234/v1) or Ollama
(http://host.docker.internal:11434/v1) and the existing OpenAI adapter
works unchanged.

Implementation note: existing Odoo AbstractModel adapters
(fusion.accounting.adapter.openai/claude) are preserved untouched to
avoid breaking the chat panel; the new plain-Python OpenAIAdapter and
ClaudeAdapter classes (LLMProvider subclasses) are added alongside them.

Made-with: Cursor
2026-04-19 10:45:30 -04:00
..

Fusion Accounting AI

Conversational AI co-pilot for Odoo Accounting using Claude or GPT.

What it does

Embeds an AI agent in the Odoo Accounting menu. Users chat with the AI, which calls into Odoo via tool-functions (read journal entries, find unreconciled bank lines, draft follow-ups, generate audit reports, etc.). Tier 3 actions (financial writes) require user approval via in-chat approval cards.

Install profiles

This module works on three install profiles:

  1. Pure Community + this module — AI uses pure Community searches via the data-adapter _via_community paths. Reduced functionality (no rich reports, no Enterprise bank-rec features) but all read tools work.
  2. Community + this module + fusion native sub-modules (recommended target) — adapters route to fusion bank rec / fusion reports / etc. Full functionality.
  3. Community + Enterprise + this module (legacy) — adapters route to Enterprise APIs. Most functionality available; some Enterprise-specific UI integration (e.g. live cursor in bank-rec widget) not supported.

Configuration

Settings -> Fusion Accounting AI -> set API keys for Claude (default) and/or OpenAI.

Troubleshooting

See CLAUDE.md in this module for known Odoo 19 gotchas.