| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Contacts (contacts)
• Discuss (mail) |
| Community Apps Dependencies | Show |
| Lines of code | 2238 |
| Technical Name |
os_ai_fields_demo |
| License | LGPL-3 |
| Website | https://github.com/alainbloos/odoo_os_ai |
| Versions | 15.0 16.0 17.0 18.0 19.0 |
⚠ For testing purposes only. Install this module in a test database to explore
AI-computed field examples. Do not install in production environments.
Overview
This demo module adds 15 AI-computed fields to the Contact form (res.partner),
showcasing every feature of OS AI Computed Fields.
Install it in a test database, configure an AI provider, and see the fields compute automatically.
Included Examples
| Category | Fields | Features Demonstrated |
|---|---|---|
| Text | AI Bio, AI Greeting, Contacts Summary, Bank Summary | translate=True, system variables ({__user__}, {__date__}), One2many/Many2many in prompts |
| Numeric | Profile Score (Integer), Engagement Score (Float) | Automatic numeric parsing and validation |
| Selection | AI Partner Type | LLM picks from constrained options |
| HTML | AI Profile Card | Rich HTML generation, many dependencies |
| Relational | AI Suggested Country (M2O), AI Suggested Tags (M2M) | Domain-filtered options, LLM selects by ID |
| Images | Photo Description, AI Logo, Ghibli Portrait | Vision (image→text), generation (text→image), editing (image→image) |
| Documents | AI Report (PDF), AI Spreadsheet (Excel) | ai_document_type='pdf' and 'xlsx' |
Demo Providers
The module also installs pre-configured AI provider records for quick testing, including OpenAI, Anthropic, Google Gemini, xAI, DeepSeek, Mistral, and Ollama (local) models. You only need to add your API key to start using them.
How to Use
- Install this module in a test database
- Go to Settings > Technical > OS AI > AI Providers (Developer Mode required) and add your API key to one of the demo providers
- Open any Contact — the AI Fields tab shows all demo fields organized in Text, Images, and Documents sub-tabs
- Edit and save a contact — the background cron will compute the AI fields within 5 minutes
Technical Details
| Technical Name | os_ai_fields_demo |
| License | LGPL-3 |
| Dependencies | os_ai_fields, contacts |
Developed by Alain Bloos — GitHub
Please log in to comment on this module