Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Extra Tools
  3. Ai Tool v 19.0
  4. Sales Conditions FAQ

Ai Tool

by ERP Artists https://www.erpartists.com
Odoo
v 19.0 Third Party 2
Download for v 19.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
You bought this module and need support? Click here!
  • Description
  • Manifest
ea_ai_tool
​ Odoo 19 Compatible

Ai Tool

Provides the base system to define, register, and run Odoo actions using AI. Allows external AI servers, MCP connections, and automation flows to interact safely and directly with Odoo database records.

Key Features Overview

Create custom Odoo functions and easily present them to AI systems as executable actions.

​

Register Actions with Code

Easily turn any Python function in your Odoo models into an action that the AI can trigger.

​

Automatic AI Instructions

Automatically builds the detailed formats and instructions that AI needs to run the action.

​

Flexible Action Scopes

Decide if an action is global (like checking today's date) or works on specific entries in your database.

​

Renders Chat Formatting

Automatically reads clean text styles (like bold or lists) sent by the AI and saves them nicely in Odoo.

​

Safe and Approved Actions

Checks all inputs before running to make sure the AI doesn't perform unsafe database changes.

​

Easy to Extend

A base system that other Odoo modules (like Sales, Inventory, or CRM) can use to add their own custom AI features.

​ Decorate Any Python Function

Register Methods Easily with Decorators

Define input shapes, required arguments, and expected reply formats directly inside your custom Python models. The `@aitool` decorator formats and registers this metadata automatically.

​
Standardized `@aitool` input/output structure
​
No complex manual schema construction
​
Self-documenting Odoo methods for AI engines
Ollama Local Processing
​ Flexible Tool Contexts

Generic, Model, or Record Kinds

Run tools at different levels. Query system-wide stats, interact with entire tables, or execute targeted functions on a single active Odoo record.

​
Generic: simple utility functions (e.g. get current date)
​
Generic Model: target a specific model (e.g. read record list)
​
Record: execute directly on a single record instance
Ollama Local Processing
​ Chatter Posting & Safe Execution

Safe Chatter Actions & Formatting

Includes native tools like posting chatter messages. Automatically detects and parses markdown text generated by AI models and renders it as clean Odoo chatter HTML.

​
Safe execution layer with input validation
​
Seamless Odoo Chatter post function (`_ai_post_message`)
​
Dynamic Markdown to HTML conversion with sanitization
Ollama Local Processing

Frequently Asked Questions

Find quick answers to common questions about Odoo AI Tools.

What is the purpose of the Ai Tool module?

It is a technical base module. It provides Odoo developers with a clean way to register custom Odoo methods so that AI integrations can run them automatically.

How do I make a method available to the AI?

Add the @aitool decorator to your Python method, defining the expected input/output fields, and register it in Odoo using an ai.tool XML record.

What happens if a tool execution encounters an error?

The module validates inputs before running a tool. If the record model doesn't match or required parameters are missing, it raises clear execution errors to prevent issues.

Does this module connect to OpenAI or Ollama?

No. This module does not connect to external AIs. It only defines the tools that other modules (like 'ea_ai_connection' or 'ea_ai_bridge') use to let the AI interact with Odoo.

Is Markdown rendering supported?

Yes. If the python 'markdown' library is installed, the module automatically converts markdown formatting from the AI into clean HTML before posting to Odoo Chatter.

Our Services

​
Odoo Customization
​
Odoo Implementation
​
Odoo Support
​
Odoo Migration
​
Odoo Integration
​
Odoo Consultancy
​
Odoo Licensing
​
Hire Odoo Developer
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 160
Technical Name ea_ai_tool
LicenseLGPL-3
Websitehttps://www.erpartists.com

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with