Odoo Help

0

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

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

Register

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)

Stats

Asked: 4/1/16, 7:34 PM
Seen: 452 times
Last updated: 4/2/16, 12:49 AM