diff --git a/addons/product/product.py b/addons/product/product.py index 4a916ad14a9..fed52c552ec 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -1077,8 +1077,7 @@ class product_product(osv.osv): name = variant and "%s (%s)" % (product.name, variant) or product.name sellers = [] if partner_ids: - if variant: - sellers = [x for x in product.seller_ids if (x.name.id in partner_ids) and (x.product_id == product)] + sellers = [x for x in product.seller_ids if (x.name.id in partner_ids) and (x.product_id == product)] if not sellers: sellers = [x for x in product.seller_ids if (x.name.id in partner_ids) and not x.product_id] if sellers: