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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_web_company_context_highlight-19.0.1.0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_web_company_context_highlight-19.0.1.0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0485ebf23284a92d0c723da2ea382402148f83ccdcf92b0ba34da2753cb10de7
MD5 c4aefce6dc6511979ba43ea4798346e6
BLAKE2b-256 cda095cb9824113147f4da9ce26b5fa32a40a2e207f018c68f851d554a895839

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page