Web Company Context Highlight
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
with one company selected
Table of contents
Configuration
To configure the highlight colors:
Go to Settings > General Settings.
Scroll to the Companies section.
Under Company Switcher Highlight, set the desired Background Color and Text Color using the color pickers.
Click Save.
Alternatively, you can configure these values by modifying the following System Parameters (in debug mode, under Settings > Technical > System Parameters):
web_company_context_highlight.color: The background color code (default: #ffc107).
web_company_context_highlight.text_color: The text color code (default: #212529).
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Current maintainer:
This module is part of the OCA/web project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_web_company_context_highlight-19.0.1.0.0.2-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_web_company_context_highlight-19.0.1.0.0.2-py3-none-any.whl
- Upload date:
- Size: 71.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0485ebf23284a92d0c723da2ea382402148f83ccdcf92b0ba34da2753cb10de7
|
|
| MD5 |
c4aefce6dc6511979ba43ea4798346e6
|
|
| BLAKE2b-256 |
cda095cb9824113147f4da9ce26b5fa32a40a2e207f018c68f851d554a895839
|