diff --git a/addons/stock/procurement.py b/addons/stock/procurement.py index fdbebe53eff..d2a9950c5c5 100644 --- a/addons/stock/procurement.py +++ b/addons/stock/procurement.py @@ -459,6 +459,8 @@ class procurement_order(osv.osv): product_obj = self.pool.get('product.product') dom = company_id and [('company_id', '=', company_id)] or [] + # DO NOT FORWARDPORT + dom += [('product_id.active', '=', True)] orderpoint_ids = orderpoint_obj.search(cr, uid, dom, order="location_id", context=context) prev_ids = [] tot_procs = []