This module allows to use OpenAI connections directly as AI Connection.
It is quite interesting because systems like LiteLLM allows us to work only like OpenAI, simplifying the work.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds OpenAI as a connection type in the AI Connection settings, letting users configure an API key, model, URL and temperature to chat with OpenAI-compatible services.
This module extends the existing AI Connection feature so that OpenAI (or any service that speaks the same API, such as LiteLLM) can be used as the AI provider.
On the AI connection form, a new "OpenAI" page appears when the connection kind is set to OpenAI. There users fill in the model name, the service URL, the temperature and the OpenAI API key. The API key field is restricted to system administrators, so only they can see and edit it.
Once configured, the connection can send messages to the AI service. The module automatically converts attached files into a format the AI can read: text files are sent as text, images are sent as images, and other files are sent as file attachments. It also passes the available tools (functions) to the AI so the assistant can request them, and it records how many prompt and completion tokens were used.
The module only adds a new option to the existing ai.connection model and its form view; it does not create new menus or models of its own. It requires the Python openai library to be installed on the server.
Depends on
Models and fields (1)
- ai.connection · extends an existing modelkind, openai_api_key
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
No verified informationInstallation 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.