[IMP] Wait a second to be certain to have correct behaviour

bzr revid: jco@openerp.com-20140313151015-yw1w6eumhje591nu
This commit is contained in:
Josse Colpaert 2014-03-13 16:10:15 +01:00
parent 283e70ebce
commit eb7e737526
1 changed files with 6 additions and 0 deletions

View File

@ -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
-