[MERGE] procurement, fix of scheduler: there is no need to filter on product that can be pruchased only (we may need to re-stock some components (of BoM) that can't be purchased)
bzr revid: qdp-launchpad@openerp.com-20130405144645-yj03ser7ks5vpwbj
This commit is contained in:
commit
2dff36cfa8
|
@ -158,7 +158,7 @@ class procurement_order(osv.osv):
|
|||
wf_service = netsvc.LocalService("workflow")
|
||||
|
||||
warehouse_ids = warehouse_obj.search(cr, uid, [], context=context)
|
||||
products_ids = product_obj.search(cr, uid, [('purchase_ok', '=', True)], order='id', context=context)
|
||||
products_ids = product_obj.search(cr, uid, [], order='id', context=context)
|
||||
|
||||
for warehouse in warehouse_obj.browse(cr, uid, warehouse_ids, context=context):
|
||||
context['warehouse'] = warehouse
|
||||
|
|
Loading…
Reference in New Issue