projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
893e426
)
[FIX] product: correct name_get for products with resellers.
author
Christophe Simonis
<chs@odoo.com>
Tue, 14 Oct 2014 15:04:19 +0000
(17:04 +0200)
committer
Christophe Simonis
<chs@odoo.com>
Tue, 14 Oct 2014 15:04:19 +0000
(17:04 +0200)
Error introduced during forward-port commit 14f3085
addons/product/product.py
patch
|
blob
|
history
diff --git
a/addons/product/product.py
b/addons/product/product.py
index
7f3a33c
..
d284a62
100644
(file)
--- a/
addons/product/product.py
+++ b/
addons/product/product.py
@@
-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