[IMP] Add colors in tree view of components..
authorJignesh Rathod (OpenERP) <jir@tinyerp.com>
Mon, 2 Dec 2013 05:53:31 +0000 (11:23 +0530)
committerJignesh Rathod (OpenERP) <jir@tinyerp.com>
Mon, 2 Dec 2013 05:53:31 +0000 (11:23 +0530)
bzr revid: jir@tinyerp.com-20131202055331-jk00a7cgpu55vnwf

addons/mrp/mrp_view.xml

index 2576235..5c2b45c 100644 (file)
                             <group>
                                 <group string="Products to Consume">
                                     <field name="move_lines" nolabel="1" options="{'reload_on_button': true}">
-                                        <tree colors="blue:state == 'draft';black:state in ('picking_except','confirmed','ready','in_production');gray:state in ('cancel','done') " string="Products to Consume">
+                                        <tree colors="red:state in ('confirmed','waiting');blue:state == 'draft';black:state in ('picking_except','ready','assigned','in_production');gray:state in ('cancel','done') " string="Products to Consume">
                                             <field name="product_id"/>
                                             <field name="product_qty"  string="Quantity"/>
                                             <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>