title: change color background kanban in odoo
body: <p>I need change to color background red if expired/date deadline in less than date now, and change to color background green if expired/date deadline more than date now, and change to color background orange if expired/date deadline in less than 1 days and 3 days </p>
  
  <pre><code>&lt;div t-if="record.eth_current_stage_deadline.raw_value and record.eth_current_stage_deadline.raw_value gt (new Date())" style="margin: 0px; background-color: #00FF00;"&gt;                                                                                                               
      &lt;b&gt;Stage Deadline:&lt;/b&gt; &lt;t t-if="record.eth_current_stage_deadline.raw_value and record.eth_current_stage_deadline.raw_value lt (new Date())" t-set="redo"&gt;oe_kanban_text_red&lt;/t&gt;
              &lt;span t-attf-class="#{redo || ''}"&gt;&lt;i&gt;&lt;field name="eth_current_stage_deadline"/&gt;&lt;/i&gt;&lt;/span&gt;    
  &lt;/div&gt;
  
  &lt;div t-if="record.eth_current_stage_deadline.raw_value and record.eth_current_stage_deadline.raw_value lt (new Date())" style="margin: 0px; background-color: #FF0000;"&gt;                                                                                                               
      &lt;b&gt;Stage Deadline:&lt;/b&gt; &lt;t t-if="record.eth_current_stage_deadline.raw_value and record.eth_current_stage_deadline.raw_value lt (new Date())" t-set="redo"&gt;oe_kanban_text_red&lt;/t&gt;
              &lt;span t-attf-class="#{redo || ''}"&gt;&lt;i&gt;&lt;field name="eth_current_stage_deadline"/&gt;&lt;/i&gt;&lt;/span&gt;    
  &lt;/div&gt;
  
  &lt;div t-if="(record.eth_current_stage_deadline.raw_value and record.eth_current_stage_deadline.raw_value - new Date()) == 3" style="margin: 0px; background-color: #FF8C00;"&gt;                                                                                                               
      &lt;b&gt;Stage Deadline:&lt;/b&gt; &lt;t t-if="record.eth_current_stage_deadline.raw_value and record.eth_current_stage_deadline.raw_value lt (new Date())" t-set="redo"&gt;oe_kanban_text_red&lt;/t&gt;
              &lt;span t-attf-class="#{redo || ''}"&gt;&lt;i&gt;&lt;field name="eth_current_stage_deadline"/&gt;&lt;/i&gt;&lt;/span&gt;    
  &lt;/div&gt;
  </code></pre>
  
  <p>I have not found a way to change color background orange if expired in less than 1 days until 3 days.</p>