Odoo Help

0

In the Calendar, how do I get the color of a meeting to be based on the event type of the meeting (instead of the user who created the meeting)?

By
Edem Achille
on 11/25/16, 11:49 AM 351 views

In Odoo, how to add color to meetings in calendar module based on event type?  By default odoo uses user's id for meeting color

0
Muhammad Irfan
On 11/25/16, 10:13 PM

Based on the tutorial from https://www.odoo.com/documentation/8.0/howtos/backend.html on Advanced Views -> Calendars you can do the following:

Open the corresponding xml file of your calendar and find the line that goes something like this

<calendar string="Ideas" date_start="invent_date" color="inventor_id"> <field name="name"/></calendar>

and try to change inventor_id with the field that you want, in your case it's event type.

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: 11/25/16, 11:49 AM
Seen: 351 times
Last updated: 11/25/16, 10:13 PM