Odoo Help


Color on calendar by state in v8?

Anabela Damas
on 5/7/15, 9:39 AM 553 views


I was having some issues trying to upgrade my module from v7 to v8. With the color parameter in calendar view. I wanted to have in name of the state of my object, and all that I could do were to have a letter (a and r) in the right. 

Like in demo site https://demo1.odoo.com/web/#view_type=calendar&model=sale.order&menu_id=481&action=595
 Is there a way to have the name of the state instead of the letters (a and r) ? 

The code in v7 is :

<calendar string="Calendar View" date_start="date_start" date_stop="date_stop" color="state" >

but in v8 this doesn't do what was expected, we have letters instead of having the name of the states.


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 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: 5/7/15, 9:39 AM
Seen: 553 times
Last updated: 5/7/15, 10:20 AM