Skip to content

[FIX] bus_alt_connection: wrong configuration key in documentation - #3721

Open
leemannd wants to merge 1 commit into
OCA:16.0from
camptocamp:16.0-fix-bus_alt_connection
Open

[FIX] bus_alt_connection: wrong configuration key in documentation#3721
leemannd wants to merge 1 commit into
OCA:16.0from
camptocamp:16.0-fix-bus_alt_connection

Conversation

@leemannd

@leemannd leemannd commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Into the code it checks for a prefix like ODOO_IMDISPATCHER_DB_ See: https://github.com/OCA/server-tools/blob/18.0/bus_alt_connection/models/bus.py#L24C32-L24C53

  • fix: wrong configuration in documentation

I am currently wondering why we have distinct values given if the configuration is done in config or environment:
os.environ.get(f"ODOO_IMDISPATCHER_DB_{p.upper()}") VS config.get("imdispatcher_db_" + p)

Wouldn't it be better to have these using the same base name?

@OCA-git-bot OCA-git-bot added series:16.0 mod:bus_alt_connection Module bus_alt_connection labels Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:bus_alt_connection Module bus_alt_connection series:16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants