summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2010-07-04 15:49:52 +0200
committerFabien Pinckaers <fp@tinyerp.com>2010-07-04 15:49:52 +0200
commit1c0a021279af9a377b8e5dbef0b2994de279b6ee (patch)
tree8d8e2476d90468dd917fba9ccfd015acb54cb246
parentb52dfba3b648d49859b0dcd01db5939c49a808e3 (diff)
modifs
bzr revid: fp@tinyerp.com-20100704134952-gd6iuokhkizs8b01
-rw-r--r--addons/mrp/test/mrp_packs.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/mrp/test/mrp_packs.yml b/addons/mrp/test/mrp_packs.yml
index 145b3f7e05f..309e3d2b200 100644
--- a/addons/mrp/test/mrp_packs.yml
+++ b/addons/mrp/test/mrp_packs.yml
@@ -1,4 +1,4 @@
-- |
+-
In order to test the Packs in OpenERP, we will try to sell a "Pack of 24
beers" which is composed of 24 "Beers" and a "Beers Pack".
- |
@@ -77,8 +77,8 @@
- |
I validate the newly created picking.
-
- !python {model: stock.picking}
- self.draft_validate(cr, uid, [ref("stock_picking_out0")], {
+ !python {model: stock.picking}: |
+ self.draft_validate(cr, uid, [ref("picking_out")], {
"active_ids": [ref("stock.menu_action_picking_tree")],
"active_id": ref("stock.menu_action_picking_tree"), }
)
@@ -87,7 +87,7 @@
converted to a picking of 24 beers and a pack of beer, so that my
stock of beers remains exact.
-
- !assert {model: stock.picking, id: stock_picking_out0}:
+ !assert {model: stock.picking, id: picking_out}:
- len(move_ids) == 2
- move_ids[0].product_id.id <> move_ids[1].product_id.id
- move_ids[0].product_id.id in (ref('product_product_beers0'), ref('product_product_beerspack0'))