CRND Web Tree Colored Field widget provide to display tree cell with color from another field.
Read the Website Service Desk Module Guide for more information.
Simple example for internal usage:
line_bg_color = fields.Char('rgba(R,G,B[,A])') line_label_color = fields.Char('rgba(R,G,B[,A])')<record id="some_id" model="ir.ui.view"> <field name="model">model.name</field> <field name="arch" type="xml"> <tree> <field name="colored_field" options="{ 'field_bg_color': 'line_bg_color', 'field_label_color': 'line_label_color'}"/> <field name="line_bg_color" invisible="1"/> <field name="line_label_color" invisible="1"/> </tree> </field> </record>
This module is part of the Bureaucrat ITSM project. You can try it by the references below.
Create your own Bureaucrat ITSM database
Bugs are tracked on https://crnd.pro/requests. In case of trouble, please report there.
Our web site: https://crnd.pro/
This module is maintained by the Center of Research & Development company.
We can provide you further Odoo Support, Odoo implementation, Odoo customization, Odoo 3rd Party development and integration software, consulting services. Our main goal is to provide the best quality product for you.
For any questions contact us.