Odoo Help


Is it possible to change color of a field?

Tarek Mohamed Ibrahim
on 7/15/15, 2:43 AM 2,492 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

--IT Libertas--
| 4 3 7
Saint Petersburg, Russian Federation
--IT Libertas--

Visit us: https://odootools.com/

IT Libertas is a team of developers and automation experts to help you to unlock Odoo ERP system's potential. We have been communicating with end users to whom the software became a main business tool since 2012. As a result, we are proud of dozens of successful Odoo apps developed.

We are open for new ideas and challenges to create the best Odoo tools for business needs all over the world

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--

| 5 2 7
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.

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: 2492 times
Last updated: 4/25/17, 11:39 AM