From eb7e737526aee05e83277ea1545de07c80b4f07b Mon Sep 17 00:00:00 2001 From: Josse Colpaert Date: Thu, 13 Mar 2014 16:10:15 +0100 Subject: [PATCH] [IMP] Wait a second to be certain to have correct behaviour bzr revid: jco@openerp.com-20140313151015-yw1w6eumhje591nu --- addons/stock_dropshipping/test/lifo_price.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/addons/stock_dropshipping/test/lifo_price.yml b/addons/stock_dropshipping/test/lifo_price.yml index 274c31e24f2..1ab280350e8 100644 --- a/addons/stock_dropshipping/test/lifo_price.yml +++ b/addons/stock_dropshipping/test/lifo_price.yml @@ -73,6 +73,12 @@ I confirm the second purchase order - !workflow {model: purchase.order, action: purchase_confirm, ref: purchase_order_lifo2} +- + The behavior of fifo/lifo is not garantee if the quants are created at the same second, so i just wait one second +- + !python {model: stock.picking}: | + import time + time.sleep(1) - Process the reception of purchase order 2 -