[FIX] sale: fixed yaml

bzr revid: qdp-launchpad@tinyerp.com-20101018110252-jr1a5i1bwqnxccma
This commit is contained in:
qdp-launchpad@tinyerp.com 2010-10-18 13:02:52 +02:00
parent 00d06ed17a
commit 02a5f1c236
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@
sale_order_obj = self.pool.get('sale.order')
so = sale_order_obj.browse(cr, uid, ref("sale_order_so1"))
picking_id = self.search(cr, uid, [('origin','=',so.name),('type','=','out')])
assert picking_id,"As the order policy is prepaid, the sale order shouldn't have already a picking."
assert not picking_id,"As the order policy is prepaid, the sale order shouldn't have already a picking."
-
I open the Invoice for the SO.
-