Ai Automation
ai_automation · OCA/ai
Health
57/100
fair
-
Security22/251 minor finding
-
Activity25/25Last human commit 6 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
3 migration notes
2 models
4 views
0 HTTP endpoints
Migration considerations
ai_connection_form_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceai_connection_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceir_actions_server_form_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
This module integrates AI connections with Odoo server actions, allowing you to
define AI-powered automations. By default it provides Ollama support, but it can
be extended with additional providers by adding new kind options to ai.connection.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
ai_connection_form_view |
ai.connection | form | New | |
ai_connection_search_view |
ai.connection | search | New | |
ai_connection_tree_view |
ai.connection | tree | New | |
ir_actions_server_form_view |
ir.actions.server | form | Inherits base.view_server_action_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (5)
-
activeBooleandefault=True -
kindSelectiondefault='ollama'required=True args: [('ollama', 'Ollama')] -
modelChargroups='base.group_system' -
nameCharrequired=True -
urlChargroups='base.group_system'
No public methods.
New fields (7)
-
ai_connection_idMany2one → ai.connectiongroups='base.group_system'string='AI Connection' args: 'ai.connection' -
ai_promptHtmlsanitize=Falsestring='AI Prompt' -
ai_result_actionSelectionstring='AI Result Action' args: [('post_message', 'Post Message'), ('update_record', 'Update Record')] -
ai_tool_idsMany2many → ai.toolgroups='base.group_system'string='AI Tools' args: 'ai.tool' -
ai_update_record_field_idMany2one → ir.model.fieldsdomain="[('model_id', '=', model_id), ('ttype', 'in', ['char', 'text'])]"string='AI Update Record Field' args: 'ir.model.fields' -
mailing_model_realCharcompute='_compute_mailing_model_real' -
stateSelectionondelete={'ai_oca': 'cascade'}selection_add=[('ai_oca', 'AI OCA Action')]
No public methods.
Loading…