跳至内容
菜单
此问题已终结
2 回复
5252 查看

In odoo10 How to change field test color based on Integer field value?


形象
丢弃

Hello @NareshKumar.P

You can change color of field according to you condition but can you explain in details.

just like i am apply condition according to status like

colors="blue:status_type == 'assign'; darkgreen:status_type == 'verify';"

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.
https://apps.odoo.com/apps/modules/17.0/mh_integer_field_color_widget

编写者 最佳答案

HI Manish Bohra,

 I need to display that color in form view field based on the condition 

形象
丢弃