TIP: You can type at any time to perform a new search.
Web Company Context Highlight
web_company_context_highlight · OCA/web
- Repository
- OCA/web · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Web
- Folder size
- 0.09 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/web
- Last tracking update
- 2026-08-03 18:04:22
- Authors
- Odoo Community Association (OCA), Acsone
- Maintainers
- Odoo Community Association (OCA), Acsone
- Committers
- Pierre Verkest, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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 
Code Analysis ⓘ
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)
New fields (0)
No new fields.
Public methods (1)-
session_info(self)
New fields (2)
-
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.