Use value instead of custom string (for translation purpose) in tab title.

This commit is contained in:
Bertrand Chenal
2008-05-28 13:45:32 +02:00
parent 92934b1d2c
commit 8fb180428f
+1 -2
View File
@@ -133,7 +133,6 @@ class Product(OSV):
location_obj = self.pool.get('stock.location')
locations = location_obj.browse(cursor, user, context.get('locations'),
context=context)
return "Products by location (" + \
",".join([l.name for l in locations]) + ")"
return value + " (" + ",".join([l.name for l in locations]) + ")"
Product()