| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
AI (ai_app)
• Discuss (mail) |
| Lines of code | 1091 |
| Technical Name |
ai_custom_provider |
| License | OPL-1 |
| Website | https://www.orado.cn |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
AI (ai_app)
• Discuss (mail) |
| Lines of code | 1091 |
| Technical Name |
ai_custom_provider |
| License | OPL-1 |
| Website | https://www.orado.cn |
AI Provider Management
Connect DeepSeek, Qwen, Zhipu and more AI providers to Odoo 19
Overview
Odoo 19 introduces a built-in AI module, but it only supports OpenAI and Google out of the box. AI Provider Management extends this capability by letting you connect any OpenAI-compatible AI provider — manage providers and models directly from the database, with no code changes required.
Key Features
- Multi-Provider Support — Add unlimited AI providers (DeepSeek, Qwen/Alibaba, Zhipu/GLM, Moonshot, etc.) alongside native OpenAI and Google.
- Database-Driven Configuration — Manage providers, API keys, and models from the Odoo UI. No need to edit config files or source code.
- Protocol Translation — Automatically converts between Odoo's Responses API and the industry-standard Chat Completions API. Works transparently with all Odoo AI features.
- Embedding Models — Supports embedding models for vector operations, with configurable dimensions and batch size per provider.
- Connection Testing — One-click "Test Connection" button to verify API key and endpoint before going live.
- Tool Calling — Full support for AI function calls (tool use) across all custom providers.
- Seamless Integration — Works transparently with Odoo AI fields, AI agents, and all native AI features. No changes needed in existing workflows.
Pre-Configured Providers
Three popular providers are included out of the box. Just add your API key and you're ready to go:
| Provider | Models Included | Embedding |
|---|---|---|
| DeepSeek | DeepSeek Chat V3, DeepSeek Reasoner R1 | — |
| Qwen (Alibaba) | Qwen Plus, Qwen Max, Qwen Turbo | text-embedding-v3 (1024d) |
| Zhipu (GLM) | GLM-4-Plus, GLM-4-Flash | embedding-3 (2048d) |
You can easily add more providers — any service compatible with the OpenAI Chat Completions API will work.
How It Works
- Go to AI → Configuration → AI Providers
- Select a pre-configured provider or create a new one
- Enter your API key and configure the base URL
- Click "Test Connection" to verify everything works
- Your new provider is now available across all Odoo AI features
The module dynamically registers your providers into Odoo's native AI framework. When Odoo's AI features make a request, the module transparently translates the protocol and routes the call to your chosen provider.
Why Use Custom Providers?
- Cost Optimization — Choose more affordable providers for routine tasks while reserving premium models for complex operations.
- Regional Compliance — Use region-specific providers to meet data residency requirements (e.g., Chinese providers for China-based operations).
- Performance Tuning — Select the best model for each use case: fast models for simple tasks, powerful models for complex reasoning.
- No Vendor Lock-in — Switch providers at any time without changing your workflows or code.
Security
- API keys are stored securely and only visible to system administrators.
- Regular users can use AI features but cannot access provider configurations or API keys.
- Provider management menu is restricted to the System group.
Compatibility
- Odoo 19 Community & Enterprise
- Requires the native AI (ai) and AI Application (ai_app) modules
- Compatible with any OpenAI Chat Completions API-compatible service
- No additional system dependencies
Support
If you have any questions or issues, please contact us at feihu.zhang@orado.cn.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module