ai_connection_openai

in ai · source on GitHub

Integrate automation with OpenAI/LiteVLLM Api

Dixmit · AGPL-3

16.0×Not in this series
17.0×Not in this series
18.0~Environment problem
19.0×Not in this series
SeriesStatusDetailsCode
16.0Not testedno branch
17.0Not testedno branch
18.0~Environment problemExternal Python package missing: openai · run 2026-09-15on GitHub
19.0Not testedno branch

Depends on

ModuleStatusChecked
ai_connectionInstalls2026-08-20

External dependencies

Checked against modidx/odoo:18.0-deps-20260820.

KindPackageIn our image
pythonopenaiNOT in image

Install log 18.0

2026-09-15 04:24:46,675 1 INFO job_f4baf2147b9f odoo.modules.loading: updating modules list 
2026-09-15 04:24:46,681 1 INFO job_f4baf2147b9f odoo.addons.base.models.ir_module: ALLOW access to module.update_list on [] to user __system__ #1 via n/a 
2026-09-15 04:25:31,780 1 INFO job_f4baf2147b9f odoo.addons.base.models.ir_module: ALLOW access to module.button_install on ['AI  Automation Openai'] to user __system__ #1 via n/a 
2026-09-15 04:25:31,836 1 WARNING job_f4baf2147b9f odoo.modules.loading: Transient module states were reset 
2026-09-15 04:25:31,837 1 ERROR job_f4baf2147b9f odoo.modules.registry: Failed to load registry 
2026-09-15 04:25:31,837 1 CRITICAL job_f4baf2147b9f odoo.service.server: Failed to initialize database `job_f4baf2147b9f`. 
Traceback (most recent call last):
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 397, in from_name
    return next(cls.discover(name=name))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 485, in check_python_external_dependency
    version = importlib.metadata.version(requirement.name)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 889, in version
    return distribution(distribution_name).version
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 862, in distribution
    return Distribution.from_name(distribution_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 399, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for openai

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 367, in check_external_dependencies
    modules.check_manifest_dependencies(terp)
  File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 506, in check_manifest_dependencies
    check_python_external_dependency(pydep)
  File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 495, in check_python_external_dependency
    raise Exception(msg) from e
Exception: External dependency openai not installed: No package metadata was found for openai

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1414, in preload_registries
    registry = Registry.new(dbname, update_module=update_module)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 97, in locked
    return func(inst, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 118, in new
    odoo.modules.load_modules(registry, force_demo, status, update_module)
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 456, in load_modules
    modules.button_install()
  File "/usr/lib/python3/dist-packages/decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 77, in check_and_log
    return method(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 434, in button_install
    modules._state_update('to install', ['uninstalled'])
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 409, in _state_update
    self.check_external_dependencies(module.name, newstate)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 375, in check_external_dependencies
    raise UserError(msg)
odoo.exceptions.UserError: Unable to install module "ai_connection_openai" because an external dependency is not met: External dependency openai not installed: No package metadata was found for openai
2026-09-15 04:25:31,845 1 INFO job_f4baf2147b9f odoo.service.server: Initiating shutdown 
2026-09-15 04:25:31,846 1 INFO job_f4baf2147b9f odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown. 
2026-09-15 04:25:31,849 1 INFO job_f4baf2147b9f odoo.sql_db: ConnectionPool(read/write;used=0/count=0/max=64): Closed 1 connections

Result looks wrong? Tell us — we will show the log or run it again. Report a wrong result

Get told when this module changes state

Data updated 2026-09-16 23:00 UTC · we publish the install log with a date, not a vendor rating · CSV and JSON are open

Questions or a wrong result: open an issue or hello@allservices.one

Independent project. Not affiliated with Odoo S.A. or the Odoo Community Association.