Odoo Help


Change records colour in tree view according to department of created user

on 3/12/15, 7:59 AM 380 views


I have few users (say user1, user2,user3,user4) with the employee records as empu1,empu2,empu3,empu4 and they belong to the department dep1,dep2,dep1 and dep2 respectively. While creating leads, I have a many2one field created_by in relation with res.users. I need to deisplay the records in tree view which show the leads created by one department in one colour. (Example, Leads created by users whi belong to dep1 must be displayed in green colour, Leads created by users whi belong to dep1 must be displayed in green colour)

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: 3/12/15, 7:59 AM
Seen: 380 times
Last updated: 3/16/15, 8:10 AM