[FIX] further print tests dropship yml
bzr revid: jco@openerp.com-20130916155448-hycviam8uf3obkx1
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
Check one quant was created in Customers location with 200 pieces and one move in the history_ids
|
||||
-
|
||||
!python {model: stock.quant}: |
|
||||
quant_id = self.search(cr, uid, [('location_id', '=', ref('stock.stock_location_customers')),('product_id', '=', ref("drop_shop_product"))])
|
||||
quant_id = self.search(cr, uid, [('product_id', '=', ref("drop_shop_product"))])
|
||||
print quant_id, [(x.qty, x.product_id.name) for x in self.browse(cr, uid, quant_id)]
|
||||
quant_id = self.search(cr, uid, [('location_id', '=', ref('stock.stock_location_customers')),('qty', '=', 200), ('product_id', '=', ref("drop_shop_product"))])
|
||||
print quant_id, [(x.qty, x.product_id.name) for x in self.browse(cr, uid, quant_id)]
|
||||
|
||||
Reference in New Issue
Block a user