Web Company Context Highlight
web_company_context_highlight · OCA/web
-
Security25/25No findings
-
Activity25/25Last human commit 4 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 19.0
Heuristic over the facts below, not an audit · How it's computed
Description
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

Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form |
res.config.settings.view.form.inherit.web_company_context_highlight | res.config.settings | form | Inherits base_setup.res_config_settings_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
No new fields.
Public methods (1)-
session_info(self)
-
web_company_context_highlight_colorCharconfig_parameter='web_company_context_highlight.color'default='#ffc107'help='Background color used to highlight the company switcher when in multi-company context.'string='Company Highlight Color' -
web_company_context_highlight_text_colorCharconfig_parameter='web_company_context_highlight.text_color'default='#212529'help='Text color used to highlight the company switcher when in multi-company context.'string='Company Highlight Text Color'
No public methods.