| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
AI (ai_app)
• Discuss (mail) |
| Lines of code | 312 |
| Technical Name |
viavista_ai_claude |
| License | LGPL-3 |
| Website | https://www.viavista.ba |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
AI (ai_app)
• Discuss (mail) |
| Lines of code | 312 |
| Technical Name |
viavista_ai_claude |
| License | LGPL-3 |
| Website | https://www.viavista.ba |
Anthropic Claude for Odoo AI
Bring Claude into every AI feature of Odoo 19 Enterprise
Adds Anthropic Claude as a third LLM provider alongside OpenAI and Google Gemini. Once the module is installed and an API key is entered, Claude models appear in every place Odoo exposes a model selection — no code, no custom server actions. Claude shines at long-form content, code, and regional languages, and ships with prompt caching for roughly 90 % discount on repeated system prompts.
Screenshots
Features
Three new provider models
Claude Opus 4.7, Sonnet 4.6, and Haiku 4.5 (plus legacy 4.5 entries) become available wherever Odoo asks you to pick an LLM — AI Agents, AI Fields, AI Server Actions, AI Composer, Livechat bots, Knowledge, Documents, CRM.
Prompt caching out of the box
Every system prompt is tagged for Anthropic's ephemeral cache. Agents that reuse the same instructions pay roughly 10 % of the input token cost on the cached portion — a big saving for chat, Ask AI, and repeatable workflows.
Tool calling
Odoo's tool / function-calling loop works transparently with Claude. The module translates OpenAI-style schemas into Anthropic input_schema and converts tool-call responses back, so every existing ir.actions.server tool keeps working.
Structured output
Odoo's structured-output mode (used by AI Fields and some composer flows) is wired through a forced-tool-call, giving you clean JSON responses from Claude even though it has no native JSON schema mode.
Multimodal
Text, image, and PDF attachments are forwarded as base64 content blocks. Send a scanned invoice or product photo to a Claude agent and it can read it.
Ready-to-use Claude Assistant
A pre-configured agent called Claude Assistant is installed with the module: read-only database access, Haiku 4.5 default (cheapest tier), tailored system prompt for BCS/regional languages. Mention it in any Discuss channel to start chatting.
Single-setting configuration
Enter your Anthropic API key in Settings → General Settings → AI and you are done. Falls back to the ODOO_AI_ANTHROPIC_TOKEN environment variable for container deployments.
Non-invasive integration
The module registers Claude through Odoo's own provider abstraction — OpenAI and Google agents keep working exactly as before. No forks, no replaced code, no persistent schema changes.
Getting started
- Install the module from the Apps menu.
- Go to Settings → General Settings → AI and paste your Anthropic API key.
- Mention @Claude Assistant in any Discuss channel, or pick a Claude model in any existing AI Agent / Field / Server Action.
- Done — Claude responses stream back like any other provider.
Need a key? Sign up at console.anthropic.com and generate one under Settings → API Keys.
Limitations
- No native embeddings. Anthropic does not ship an embedding API; embedding requests continue to go to OpenAI or Google. This only affects RAG-style Sources on AI Agents — chat, AI Fields, and tool use are unaffected.
- No web grounding. Claude does not expose a web-search tool in the provider API. Agents that need live web lookups should stay on Gemini or OpenAI.
Technical information
Odoo version: 19.0 Enterprise
License: LGPL-3
Dependencies: ai, ai_app
External dependencies: python-requests
Author: Viavista d.o.o.
Need help?
Visit www.viavista.ba or contact us at info@viavista.ba.
Please log in to comment on this module