[IMP] mrp_subproduct: yaml corrected.
authoruco (Open ERP) <uco@tinyerp.com>
Wed, 29 Sep 2010 09:08:53 +0000 (14:38 +0530)
committeruco (Open ERP) <uco@tinyerp.com>
Wed, 29 Sep 2010 09:08:53 +0000 (14:38 +0530)
bzr revid: uco@tinyerp.com-20100929090853-iws5d931rqq73z3j

addons/mrp_subproduct/test/mrp_subproduct.yml

index 520a4e9..56c62b9 100644 (file)
   I see that stock moves of Wood and Nails including Wooden Table are done now.
 -
   !python {model: stock.move}: |
-    move_ids = self.search(cr, uid, [('product_id','in',[ref("product_product_woodenchair0"),ref("product_product_woodentable0"),ref("product_product_wood0"),ref("product_product_nails0")])])
+    move_ids = self.search(cr, uid, [('product_id','in',[ref("product_product_woodentable0"),ref("product_product_wood0"),ref("product_product_nails0")])])
     moves = self.browse(cr, uid, move_ids)
     assert all(move.state == 'done' for move in moves), 'Moves are not done!'