Odoo Help

Welcome!

This community 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.

0

How to change the styling for grouped by rows?

By
Eric
on 2/24/16, 6:17 PM 301 views

Hello.  Right now I am currently using Openerp v7 and I am looking for a way to change the styling of grouped rows in a tree view. For example, I have a tree view which is set with a default group by filter.  

I am looking to change the font color of the grouped row if it contains less than 5 records.  So if one of the grouped rows only contains 3 records inside, then the font color should be red.  I don't want to change the font color for the records inside the grouped row.

Is there a way to do this in an xml view? Or do I need to do this with javascript and css?

Thank 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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 2/24/16, 6:17 PM
Seen: 301 times
Last updated: 2/24/16, 6:17 PM