This module replaces the integration of AI from Odoo to ChatGPT through Odoo by a locally controlled system.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0This module redirects the AI text generation feature of the Odoo HTML editor to a local Ollama server instead of the default OpenAI service. Users can generate text in the editor using their own Ollama model and connection settings.
When installed, this module changes how the AI text generation button in the Odoo HTML editor works. Instead of sending requests to OpenAI through Odoo's IAP service, it sends them to an Ollama server that you configure.
- The module adds system parameters that let administrators set the Ollama server address, the model name, and optional HTTP headers. These are stored in Odoo's configuration parameters under names starting with
ai_oca_native_generate_ollama. - If the connection or model is not configured, the editor falls back to the original Odoo AI behavior.
- When configured, the editor's generate text feature sends the prompt and conversation history to the Ollama server and returns the generated text directly into the editor.
- The module depends on the
html_editormodule and requires the Pythonollamalibrary to be installed on the server. - It does not add any new menus, models, or database tables. It only overrides the existing text generation route in the HTML editor controller.
This is useful for businesses that want to keep AI text generation local and private, using their own Ollama instance instead of a cloud service.
Depends on
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/ai.
terminal Installation and usage
OCA documentation · Odoo 18.0Configuration
Source · Odoo 18.0To configure this module, you need to create 2 parameters:
- ai_oca_native_generate_ollama.connection: Connection to your ollama
- ai_oca_native_generate_ollama.model: Model to use
Alternatively, you can add headers by using the parameter *ai_oca_native_generate_ollama.headers". It expects a dictionary.
No verified information in OCA: Installation, Usage.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.