Better Syntax

bzr revid: fp@tinyerp.com-20080818111722-h4p85v4djxvq99by
This commit is contained in:
Fabien Pinckaers 2008-08-18 13:17:22 +02:00
parent 0c80bf9a29
commit f61d2ee3b0
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ def _procure_confirm(self, cr, uid, schedule_cycle=1.0, po_cycle=1.0,\
cr = pooler.get_db(use_new_cursor).cursor()
wf_service = netsvc.LocalService("workflow")
ids=orderpoint_obj.search(cr,uid,[("active","=",True)],offset=offset,limit=100)
ids=orderpoint_obj.search(cr,uid,[],offset=offset,limit=100)
for id in ids:
wf_service.trg_validate(uid, 'mrp.procurement', id, 'button_restart', cr)
if use_new_cursor: