Odoo Help

0

0
3 Answers
0

you have to create one compute fields like color = fields.Char(compute="function")

OR,

Create a Cron job to call every day check creation date and set color on those records are done 24hrs or whatever you want from created Date

and then after,

you can use in XML side

<div t-attf-class="#{kanban_color(record.color.raw_value)}">

Ask a Question
Writer
Keep Informed
1 follower(s)
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