python - How to change the field value as Red color when end date is less than current date on field? -


i want change field value red color when end date less current date on field ? have field name followup_date, if follow date has passed should marked red on grid. method create previous date less current date, have no idea how write method? how possible? can me out? in advance...

if grid mean one2many table. here example may you.

<tree colors="red:followup_date < current_date">     <field name="followup_date"/>         </tree> 

Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -