stay_api

in vertical-abbey · source on GitHub

REST API for stay module

Category: Lodging · Akretion · AGPL-3

16.0~Environment problem
17.0×Not in this series
18.0~Environment problem
19.0×Not in this series
20.0×Not in this series

Frozen series. Results for 16.0 are a dated snapshot as of 2026-11-17: the branch is no longer harvested and its modules are no longer re-run. Each verdict refers to the code and the test image of its own run date; later commits to the 16.0 branch are not reflected. Why: this index runs on a single server, and its capacity goes to the newer series 18.0–20.0. modidx-odoo-16.0-deps-20260821.txt

SeriesStatusDetailsCode
16.0~Environment problemExternal Python package missing: fastapi-openapi-overrides · run 2026-11-11on GitHub
17.0—Not testedno branch
18.0~Environment problemExternal Python package missing: fastapi-openapi-overrides · run 2026-11-07on GitHub
19.0—Not testedno branch
20.0—Not testedno branch

The module’s code on 18.0

Lines of codepython 814 · xml 298
Testsno
Migration scriptsno
Models1 new · 3 extensions

Lines are physical, blanks and comments included, as wc -l. Tests are test_*.py files under tests/. Models are lines holding _name = and _inherit =. These are facts about the code, not a judgement: more lines is neither better nor worse. Measured 2026-08-28 on tree 1fddd1aabe9d.

Depends on

ModuleStatusChecked
fastapi~Environment problem2026-11-10
partner_match_or_create✓Installs2026-11-09
stay✓Installs2026-11-10

External dependencies

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

KindPackageIn our image
pythonfastapiin image

History

Last change2026-06-17
Code commits, 12 months26
Most activeAlexis de Lattre
Files34

Translation and bot commits are excluded from the commit count.

Install log 18.0

2026-11-07 04:27:33,729 1 INFO job_a2e16ed72262 odoo.modules.loading: updating modules list 
2026-11-07 04:27:33,738 1 INFO job_a2e16ed72262 odoo.addons.base.models.ir_module: ALLOW access to module.update_list on [] to user __system__ #1 via n/a 
2026-11-07 04:28:27,663 1 INFO job_a2e16ed72262 odoo.addons.base.models.ir_module: ALLOW access to module.button_install on ['Stay API'] to user __system__ #1 via n/a 
2026-11-07 04:28:27,782 1 WARNING job_a2e16ed72262 odoo.modules.loading: Transient module states were reset 
2026-11-07 04:28:27,783 1 ERROR job_a2e16ed72262 odoo.modules.registry: Failed to load registry 
2026-11-07 04:28:27,783 1 CRITICAL job_a2e16ed72262 odoo.service.server: Failed to initialize database `job_a2e16ed72262`. 
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 fastapi-openapi-overrides

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 fastapi-openapi-overrides not installed: No package metadata was found for fastapi-openapi-overrides

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 403, in _state_update
    update_demo = update_mods._state_update(newstate, states_to_update, level=level-1)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  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 "fastapi" because an external dependency is not met: External dependency fastapi-openapi-overrides not installed: No package metadata was found for fastapi-openapi-overrides
2026-11-07 04:28:27,795 1 INFO job_a2e16ed72262 odoo.service.server: Initiating shutdown 
2026-11-07 04:28:27,796 1 INFO job_a2e16ed72262 odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown. 
2026-11-07 04:28:27,796 1 INFO job_a2e16ed72262 odoo.sql_db: ConnectionPool(read/write;used=0/count=0/max=64): Closed 1 connections

Install log 16.0

    update_demo = update_mods._state_update(newstate, states_to_update, level=level-1)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 399, in _state_update
    self.check_external_dependencies(module.name, newstate)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 368, in check_external_dependencies
    raise UserError(msg % (module_name, e.args[0]))
odoo.exceptions.UserError: Unable to install module "fastapi" because an external dependency is not met: Python library not installed: fastapi-openapi-overrides
2026-11-11 04:06:35,124 1 CRITICAL job_699135b58e93 odoo.service.server: Failed to initialize database `job_699135b58e93`. 
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 538, in check_python_external_dependency
    pkg_resources.get_distribution(pydep)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 466, in get_distribution
    dist = get_provider(dist)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 342, in get_provider
    return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 886, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 772, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'fastapi-openapi-overrides' distribution was not found and is required by the application

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 541, in check_python_external_dependency
    importlib.import_module(pydep)
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'fastapi-openapi-overrides'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 360, in check_external_dependencies
    modules.check_manifest_dependencies(terp)
  File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 560, in check_manifest_dependencies
    check_python_external_dependency(pydep)
  File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 546, in check_python_external_dependency
    raise Exception('Python library not installed: %s' % (pydep,))
Exception: Python library not installed: fastapi-openapi-overrides

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 1333, in preload_registries
    registry = Registry.new(dbname, update_module=update_module)
  File "<decorator-gen-16>", line 2, in new
  File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 87, in locked
    return func(inst, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 87, in new
    odoo.modules.load_modules(registry, force_demo, status, update_module)
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 460, in load_modules
    modules.button_install()
  File "<decorator-gen-76>", line 2, in button_install
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 74, in check_and_log
    return method(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 420, in button_install
    modules._state_update('to install', ['uninstalled'])
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 393, in _state_update
    update_demo = update_mods._state_update(newstate, states_to_update, level=level-1)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 399, in _state_update
    self.check_external_dependencies(module.name, newstate)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 368, in check_external_dependencies
    raise UserError(msg % (module_name, e.args[0]))
odoo.exceptions.UserError: Unable to install module "fastapi" because an external dependency is not met: Python library not installed: fastapi-openapi-overrides
2026-11-11 04:06:35,126 1 INFO job_699135b58e93 odoo.service.server: Initiating shutdown 
2026-11-11 04:06:35,126 1 INFO job_699135b58e93 odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown. 
2026-11-11 04:06:35,128 1 INFO job_699135b58e93 odoo.sql_db: ConnectionPool(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-11-22 14:00 UTC · build 2fa04c4 · 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

Privacy · Terms

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