[FIX] yml test
bzr revid: qdp-launchpad@openerp.com-20130902151108-d2r9lpt0z5ertt2m
This commit is contained in:
parent
a5955f8c35
commit
aa877dcfb4
|
@ -203,12 +203,12 @@
|
|||
I need to check the availability of the product, So I make my picking order for processing later.
|
||||
-
|
||||
!python {model: stock.picking}: |
|
||||
self.action_confirm(cr, uid, [ref('stock_picking_out001')], context=context)
|
||||
self.action_confirm(cr, uid, [ref('stock_picking_out001_fifo')], context=context)
|
||||
-
|
||||
I check the product availability, Product is available in the stock and ready to be sent.
|
||||
-
|
||||
!python {model: stock.picking}: |
|
||||
picking = self.browse(cr, uid, ref("stock_picking_out001"))
|
||||
picking = self.browse(cr, uid, ref("stock_picking_out001_fifo"))
|
||||
assert picking.state == "confirmed", "Picking should be confirmed."
|
||||
for move_line in picking.move_lines:
|
||||
assert move_line.state == "confirmed", "Move should be confirmed."
|
||||
|
|
Loading…
Reference in New Issue