Skip to main content
Odoo Community Association

Web Company Context Highlight

Beta License: LGPL-3 OCA/web Translate me on Weblate Try me on Runboat

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

    company switcher with multiple companies selected

  • with one company selected

    company switcher with one company selected

Table of contents

Configuration

To configure the highlight colors:

  1. Go to Settings > General Settings.

  2. Scroll to the Companies section.

  3. Under Company Switcher Highlight, set the desired Background Color and Text Color using the color pickers.

  4. Click Save.

color configuration

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

Authors

  • Acsone

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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:

pverkest

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)

Table of built distributions (wheels) for odoo-addon-web-company-context-highlight 19.0.1.0.0.4
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

19.0.1.0.0.4 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page