[FIX] run schedulers domain

This commit is contained in:
Josse Colpaert 2014-06-19 10:36:42 +02:00
parent df020d8833
commit cd653f1db2
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ class procurement_order(osv.osv):
procurement_obj = self.pool.get('procurement.order')
offset = 0
ids = [1]
dom = company_id and [('company_id', '=', company_id)] or False
dom = company_id and [('company_id', '=', company_id)] or []
while ids:
ids = orderpoint_obj.search(cr, uid, dom, offset=offset, limit=100)
for op in orderpoint_obj.browse(cr, uid, ids, context=context):