[IMP] Correct error from merge

bzr revid: jco@openerp.com-20130829130529-1nuyi9qijuh9cyw6
This commit is contained in:
Josse Colpaert
2013-08-29 15:05:29 +02:00
parent 988ae0572a
commit 6d55144ca9
@@ -66,10 +66,3 @@
quant_id = self.search(cr, uid, [('location_id', '=', ref('stock.stock_location_customers')),('qty', '=', 200)])
assert len(self.browse(cr, uid, quant_id)[0].history_ids) == 1
assert len(quant_id) == 1
-
Check the sum of the moves related to this product and the sum of the quants is equal
-
!python {model: stock.quant}: |
move_ids = self.pool.get('stock.move').search(cr, uid, [('product_id', '=', ref('drop_shop_product'))])
quant_ids = self.search(cr, uid, [('product_id', '=', ref('drop_shop_product'))])
assert len(move_ids) == len(quant_ids)