Odoo Help


How do I set the Color for an Event in Service Works Calendar?

Nate Foster
on 4/1/16, 7:34 PM 605 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.   

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