[IMP] mrp: set the colors for cancel state in list view

bzr revid: sbh@tinyerp.com-20100203102718-mlkgt1wjyetofd51
This commit is contained in:
sbh (Open ERP) 2010-02-03 15:57:18 +05:30
parent 8dda2cc023
commit 7a031b3646
1 changed files with 1 additions and 1 deletions

View File

@ -669,7 +669,7 @@
<field name="model">mrp.procurement</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Procurement Lines" colors="red:state=='draft';black:state=='running';green:state=='confirmed';gray:state=='done'">
<tree string="Procurement Lines" colors="red:state=='draft';black:state=='running';green:state=='confirmed';gray:state in ['done','cancel']">
<field name="name"/>
<field name="product_id"/>
<field name="product_qty"/>