Skip to content

[16.0] web_dark_mode: Dark mode not always set when opening Odoo #2990

@houzefa-abba

Description

@houzefa-abba

The web_dark_mode module adds a "Dark mode" user setting. With that setting enabled, dark mode activates fine in most cases, but not always:

  • ✅ Dark mode is enabled after logout/login (/web/login redirects to /web)
  • ✅ Dark mode is enabled when opening a new tab to /web
  • ❌ Dark mode is not enabled when opening a new tab to / (/ redirects to /web)

The current workaround is to refresh the page once Odoo is loaded, since by that point it is under /web

Example on runboat:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions