How to change the field value as Red color when end date is less than current date on field?
<p>I want to change the field value as red color when end date is less than current date on field ? I have field name followup_date, If Follow up Date has passed then it should be marked as Red on Grid. The method will create previous date is less than current date, but i have no idea how to write this method?  How is this possible? Can anyone help me out? Thanks in Advance...</p>

<p>I resolved my problem by this, its working for me now...</p>

<pre><code>        &lt;tree string="Claims" position="attributes"&gt;
                &lt;attribute name="colors"&gt;red:followup_date &amp;lt; current_date;&lt;/attribute&gt;
        &lt;/tree&gt;

        &lt;field name="stage_id" position="after"&gt;
            &lt;field name="followup_date" invisible="1"/&gt;
            &lt;field name="current_date" invisible="1"/&gt;
        &lt;/field&gt;
</code></pre>

python methods openerp odoo-8