Dynamic Color Changing Integer Field Widget Based on Threshold in Odoo

Опубликовано: 31 Июль 2026
на канале: Software Box
226
1

Dynamic Color Changing Integer Field Widget Based on Threshold in Odoo
OdooApp Store: https://apps.odoo.com/apps/modules/17.0/mh...

Description:

This Odoo app allows users to dynamically change the background and text color of any integer field based on a threshold value. The app introduces a customizable widget that automatically adjusts the visual representation of integer fields, allowing users to define their own colors for values below and above the threshold. Whether for financial figures, performance metrics, or other numeric values, users can easily tailor the display according to their preferences.

Key Features:

Dynamically changes background and text color based on a user-defined threshold for integer fields.
Fully customizable: Set different background and text colors for values below and above the threshold.
Easy integration with any integer field in Odoo using the widget and options attributes.
Enhances visual data representation, making it easier to interpret integer values at a glance.
Supported configuration options include threshold value, background color, and text color for both below and above threshold scenarios.
Ideal for numeric fields such as budgets, quantities, and performance metrics.