Skip to main content
Odoo Community Association

Ai Automation

Beta License: AGPL-3 OCA/ai Translate me on Weblate Try me on Runboat

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.

Table of contents

Usage

This module adds a new server action type: AI OCA Action.

To use it:

  1. Go to Settings > Technical > Actions > Server Actions

  2. Create a new action and select AI OCA Action as the state

  3. Select an AI Connection (Ollama)

  4. Define the prompt — supports dynamic placeholders using Qweb syntax (e.g. {{ object.name }})

  5. Optionally select tools the AI can call during execution

  6. Define what to do with the result:

    • Post Message: posts the AI response as a chatter message on the record

    • Update Record: writes the AI response to a specific field

To extend with a new AI provider, inherit ai.connection and add a new selection value to kind, then implement the corresponding _run_{kind} method.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Dixmit

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/ai project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_ai_automation-16.0.1.0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_ai_automation-16.0.1.0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 16c7746f6320a38530b6c85ffa043bb58ffcf6937ac245836bb57ecda95b2f91
MD5 c017cf3baeeaa5b71d6115448d921473
BLAKE2b-256 c1e0912e666f3f3dd440950116daa99d448be9bafbe9809c0312f06361d531b7

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

16.0.1.0.1.2 This release

1 file

16.0.1.0.1

1 file

16.0.1.0.0.6

1 file

16.0.1.0.0.4

1 file

16.0.1.0.0.3

1 file

16.0.1.0.0.2

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page