[IMP] proc_ids search domain was wrong in yml
bzr revid: jco@openerp.com-20130916100724-92vgj02c3axdg1zw
This commit is contained in:
@@ -106,7 +106,7 @@
|
||||
!python {model: procurement.order}: |
|
||||
sale_order_obj = self.pool.get('sale.order')
|
||||
so = sale_order_obj.browse(cr, uid, ref("sale_order_so0"))
|
||||
proc_ids = self.search(cr, uid, [('origin','=',so.name) and ('state','=','running')])
|
||||
proc_ids = self.search(cr, uid, [('origin','like',so.name), ('state','=','running')])
|
||||
assert len(proc_ids) == 2, 'Not both procurements are in the running state!'
|
||||
-
|
||||
I verify that a manufacturing order has been generated, and that its name and reference are correct
|
||||
|
||||
Reference in New Issue
Block a user