[ADD] web_company_context_highlight: Highlight the current company context - #3611
Merged
OCA-git-bot merged 1 commit intoAug 3, 2026
Merged
Conversation
petrus-v
force-pushed
the
19.0-add-web_company_context_highlight
branch
from
July 17, 2026 14:51
040ea37 to
362845c
Compare
petrus-v
force-pushed
the
19.0-add-web_company_context_highlight
branch
from
July 17, 2026 15:38
362845c to
ffec445
Compare
AnizR
approved these changes
Jul 20, 2026
AnizR
left a comment
There was a problem hiding this comment.
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!
legalsylvain
approved these changes
Aug 3, 2026
legalsylvain
left a comment
Contributor
There was a problem hiding this comment.
thanks !
/ocabot merge nobump
Contributor
|
What a great day to merge this nice PR. Let's do it! |
Contributor
|
Congratulations, your PR was merged at ea49334. Thanks a lot for contributing to OCA. ❤️ |
This was referenced Aug 3, 2026
legalsylvain
added a commit
to grap/web
that referenced
this pull request
Aug 3, 2026
…ed companies. Based on V19.0 module : web_company_context_highlight. (OCA#3611)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.