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

Color on calendar by state in v8?

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



Hi, 

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.

Thanks

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