Ai Automation

ai_automation
REPOSITORY
REPOSITORYOCA/ai
GIT
GIThttps://github.com/OCA/ai.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/ai/tree/16.0/ai_automation
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Dixmit
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Dixmit
COMMITTERS
COMMITTERSEnric Tobella, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/ai
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:12:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/ai:
    - ai_tool
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES ollama
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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`.

Code Analysis

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 notebook Inherits base.view_server_action_form
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.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/ai
PULL REQUEST
PULL REQUEST[18.0] [MIG] ai_automation -> ai_server_action (#81)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/ai
PULL REQUEST
PULL REQUEST[18.0][MIG] ai_automation (#72)