Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
3599 Näkymät

Hi,

Does anybody know how to modify the task colors in calendar view in Odoo 13 ?

It seems that there are two colours in the task: one darker in a small bar in the left and the same color but lighter on the rest of the task.

I would like to set two different colors in the task: the little bar with one color (related to user for instance) and the rest of the task with a different color (related to the task stage)

Does anyone know how could I do this ?


Thank you !


Ernesto.

Avatar
Hylkää
Paras vastaus

Dear Ernesto,

Please enter or replace this code in your XML file in celenderview then after you can give different colors in task.


record id = "(enter your record id)" model="ir . ui . view"
field name = "name" Calendar field
field name = "model" (enter your model name) field
field name = "arch" type="xml"
calendar string = "TASK" date_start = "booking_date" mode = "month" date_delay = "duration" color = "state"
field name = "(your field name)"
calendar
field
record

I hope this information is helpful to you and after adding this code your problem will be solved.


Feel free for further assistance on contact@geminatecs.com

Thank you
Geminate Consultancy Services

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
kesäk. 23
3530
1
marrask. 22
3832
2
kesäk. 20
4032
2
heinäk. 18
7560
4
heinäk. 18
8420