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

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

By
scot77844
on 3/12/15, 7:59 AM 327 views

Hi,

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

Question tools

1 follower(s)

Stats

Asked: 3/12/15, 7:59 AM
Seen: 327 times
Last updated: 3/16/15, 8:10 AM