Skip to content

[ADD] web_company_context_highlight: Highlight the current company context - #3611

Open
petrus-v wants to merge 1 commit into
OCA:19.0from
petrus-v:19.0-add-web_company_context_highlight
Open

[ADD] web_company_context_highlight: Highlight the current company context#3611
petrus-v wants to merge 1 commit into
OCA:19.0from
petrus-v:19.0-add-web_company_context_highlight

Conversation

@petrus-v

@petrus-v petrus-v commented Jul 17, 2026

Copy link
Copy Markdown

This module highlights the company switcher in the top bar of the web client when multiple companies are selected.

In a multi-company Odoo environment, users can easily lose track of their active company context. When more than one company is selected, they might unintentionally create or view records in the wrong context.

By applying a visual highlight to the company switcher when multiple companies are selected, this module provides an immediate visual cue, helping users remain aware of their active companies and reducing the risk of data entry errors.

  • with multiple companies selected
image
  • with one company selected
image

@OCA-git-bot OCA-git-bot added series:19.0 mod:web_company_context_highlight Module web_company_context_highlight labels Jul 17, 2026
@petrus-v
petrus-v force-pushed the 19.0-add-web_company_context_highlight branch from 040ea37 to 362845c Compare July 17, 2026 14:51
@petrus-v
petrus-v force-pushed the 19.0-add-web_company_context_highlight branch from 362845c to ffec445 Compare July 17, 2026 15:38

@AnizR AnizR left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM.
Tested on runboat: works fine 👍

I think that you could improve a bit the description of your PR to directly give the context to any reviewer (at least copy the content of your readme).

Otherwise, great simple but smart UI feature!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:web_company_context_highlight Module web_company_context_highlight series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants