[FIX] product: correct name_get for products with resellers.
Error introduced during forward-port commit 14f3085
This commit is contained in:
parent
893e426865
commit
3110d97c3d
|
@ -1018,7 +1018,7 @@ class product_product(osv.osv):
|
|||
name = variant and "%s (%s)" % (product.name, variant) or product.name
|
||||
sellers = []
|
||||
if partner_ids:
|
||||
partner_ids and filter(lambda x: x.name.id in partner_ids, product.seller_ids)
|
||||
sellers = filter(lambda x: x.name.id in partner_ids, product.seller_ids)
|
||||
if sellers:
|
||||
for s in sellers:
|
||||
seller_variant = s.product_name and "%s (%s)" % (s.product_name, variant) or False
|
||||
|
|
Loading…
Reference in New Issue