diff --git a/order_point.py b/order_point.py index 75ff205038..7f36b991fa 100644 --- a/order_point.py +++ b/order_point.py @@ -139,6 +139,7 @@ class OrderPoint(ModelSQL, ModelView): query = ['OR'] for op in internals: arg = ['AND', + ('product', '=', op.product.id), ('provisioning_location', '=', op.storage_location.id), ('storage_location', '=', op.provisioning_location.id), ('company', '=', op.company.id),