[IMP]mrp: assign group
authorKuldeep Joshi (OpenERP) <kjo@tinyerp.com>
Mon, 16 Jul 2012 08:55:57 +0000 (14:25 +0530)
committerKuldeep Joshi (OpenERP) <kjo@tinyerp.com>
Mon, 16 Jul 2012 08:55:57 +0000 (14:25 +0530)
bzr revid: kjo@tinyerp.com-20120716085557-yipr924zh1bfpems

addons/mrp/mrp_view.xml

index 923a14f..932f4ac 100644 (file)
                                         <tree colors="red:scrapped==True;blue:state == 'draft';black:state in('picking_except','confirmed','ready','in_production');gray:state in('cancel','done') " string="Finished Products">
                                             <field name="product_id" readonly="1"/>
                                             <field name="product_qty" readonly="1"/>
-                                            <field name="product_uom" readonly="1" string="Unit of Measure"/>
-                                            <field name="location_dest_id"  readonly="1" string="Destination Loc." widget="selection"/>
+                                            <field name="product_uom" readonly="1" string="Unit of Measure" groups="product.group_uom"/>
+                                            <field name="location_dest_id"  readonly="1" string="Destination Loc." widget="selection" groups="stock.group_locations"/>
                                             <field name="prodlot_id" context="{'product_id': product_id}"/>
                                             <field name="scrapped" invisible="1"/>
                                             <field name="state" invisible="1"/>