From a48589cdb4932fbad5e4fdcd0386c5c8315586e7 Mon Sep 17 00:00:00 2001 From: Lorenzo Battistini Date: Sat, 11 May 2013 09:54:07 +0200 Subject: [PATCH] [imp] tests --- stock_lot_valuation/test/opening_stock.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stock_lot_valuation/test/opening_stock.yml b/stock_lot_valuation/test/opening_stock.yml index 5233cba21..ac8eacf47 100644 --- a/stock_lot_valuation/test/opening_stock.yml +++ b/stock_lot_valuation/test/opening_stock.yml @@ -153,6 +153,8 @@ - !python {model: stock.inventory}: | self.action_done(cr, uid, [ref('stock_inventory_icecream')], context=context) + balance = self.pool.get('account.account').browse(cr, uid, ref('account.stk')).balance + assert balance == 3500.0, "Purchased Stocks balance is %s, not 3500 (50*70)" % balance - I update the price of the Ice-cream lot. -