[IMP,MOD] purchase : added color according to state in Rfq and purchase order tree view

bzr revid: vir@tinyerp.com-20100528084259-t2616u7rnjuekpcm
This commit is contained in:
Vir (Open ERP) 2010-05-28 14:12:59 +05:30
parent 01d09ac117
commit fdcb3c5170
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@
<field name="model">purchase.order</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Purchase Order">
<tree colors="grey:state in ('approved','done');blue:state in ('wait','confirmed');red:state in ('except_invoice','except_picking')" string="Purchase Order">
<field name="name" string="Reference"/>
<field name="date_order" string="Order Date"/>
<field name="partner_id"/>