Odoo Help


Is it possible to change color of a field?

Tarek Mohamed Ibrahim
on 7/15/15, 2:43 AM 1,067 views

When the field is marked as required=True in the field definition it shows up in the form view with blue background. I need to be able to change the background color of any field to any color I need, is this possible without making the field required ?

IT Libertas
On 3/24/16, 1:05 PM

I guess, this module may be of use: https://apps.odoo.com/apps/modules/8.0/colors_customization/

Vishal Gediya
On 2/9/16, 7:46 AM

f you want all fields color then give colors attribute in <tree>

<tree string="Configuration" colors="green:no == 0;red:no > 0">
    <field name="no" />

Solanki Shamji

--Solanki Shamji--
Solanki Shamji
| 5 2 6
Baroda, India
--Solanki Shamji--


Solanki Shamji
On 7/15/15, 3:30 AM


Here is one module which is change the color etc.


May be this will help you.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 7/15/15, 2:43 AM
Seen: 1067 times
Last updated: 3/24/16, 1:05 PM