bzr revid: fp@tinyerp.com-20100902191712-gcg31i2r95zmac4u
This commit is contained in:
Fabien Pinckaers
2010-09-02 21:17:12 +02:00
parent e71bd619ec
commit 9b74731089
+1 -1
View File
@@ -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: picking_out}:
!assert {model: stock.picking, id: picking_out, string:pack_of_beer_splitted}:
- len(move_lines) == 2
- move_lines[0].product_id.id <> move_lines[1].product_id.id
- move_lines[0].product_id.id in (ref('product_product_beers0'), ref('product_product_beerspack0'))