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.
Release files for odoo-addon-web-company-context-highlight 19.0.1.0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| odoo_addon_web_company_context_highlight-19.0.1.0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / odoo_addon_web_company_context_highlight-19.0.1.0.0.4-py3-none-any.whl
| Download URL | odoo_addon_web_company_context_highlight-19.0.1.0.0.4-py3-none-any.whl |
|---|---|
| Size | 72.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b2e21eb7f970d0f71542b2cb568a601e1473c7eacb0082b6ff6b2aca76b9b5ff
|
|
BLAKE2b-256 checksum How to use checksums |
05d1551be2a4e234d13d30cdda3f7ff56dc7faa1d2f25fde3a9cb9c7e8f7b375
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|