[FIX]: Fix state color in tree view.

bzr revid: atp@tinyerp.com-20120602073510-6ig49sshg2t4vdoa
This commit is contained in:
Atul Patel (OpenERP) 2012-06-02 13:05:10 +05:30
parent b89e09a077
commit 30442ae0f7
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@
<field name="type">tree</field>
<field name="model">purchase.requisition</field>
<field name="arch" type="xml">
<tree fonts="bold:needaction_pending==True" colors="grey:state == 'cancel';red:date_end&lt;current_date and state not in ('done','cancel');black:date_end&gt;=current_date;" string="Purchase Requisition">
<tree fonts="bold:needaction_pending==True" colors="grey:state == 'cancel';red:date_end&lt;current_date;black:date_end&gt;=current_date;" string="Purchase Requisition">
<field name="needaction_pending" invisible="1"/>
<field name="name"/>
<field name="date_start"/>