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 do I set the Color for an Event in Service Works Calendar?

By
Nate Foster
on 4/1/16, 7:34 PM 243 views

How would one control the color of events on the Service Works Calendar?  I've been looking at the code and it looks like this the color is set by the employee_id. 


<calendar string="Service Works" date_start="start_time" color="employee_id" date_stop="end_time" mode="week" avatar_model="hr.employee" display="[calendar_attention][employee_id], [partner_id]">


After looking around, I don't understand why the employee_id is used to set the color, and how one could use custom colors to help visually organize the calendar.   



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: 4/1/16, 7:34 PM
Seen: 243 times
Last updated: 4/2/16, 12:49 AM