Skip to content
Health
57/100
fair
  • Security22/25
    1 minor finding
  • Activity25/25
    Last human commit 6 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 16.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

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

Odoo dependencies
OCA/ai:
odoo/odoo:
- web
- bus
Python dependencies
ollama
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 4

XML IDNameModelTypeStatus
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)
  • active Boolean
    default=True
  • kind Selection
    default='ollama' required=True args: [('ollama', 'Ollama')]
  • model Char
    groups='base.group_system'
  • name Char
    required=True
  • url Char
    groups='base.group_system'
Public methods (0)

No public methods.

New fields (7)
  • ai_connection_id Many2one → ai.connection
    groups='base.group_system' string='AI Connection' args: 'ai.connection'
  • ai_prompt Html
    sanitize=False string='AI Prompt'
  • ai_result_action Selection
    string='AI Result Action' args: [('post_message', 'Post Message'), ('update_record', 'Update Record')]
  • ai_tool_ids Many2many → ai.tool
    groups='base.group_system' string='AI Tools' args: 'ai.tool'
  • ai_update_record_field_id Many2one → ir.model.fields
    domain="[('model_id', '=', model_id), ('ttype', 'in', ['char', 'text'])]" string='AI Update Record Field' args: 'ir.model.fields'
  • mailing_model_real Char
    compute='_compute_mailing_model_real'
  • state Selection
    ondelete={'ai_oca': 'cascade'} selection_add=[('ai_oca', 'AI OCA Action')]
Public methods (0)

No public methods.

Loading…