From 8fb180428f01a9cc06b3dc105fcb00d5cc9fc0e6 Mon Sep 17 00:00:00 2001 From: Bertrand Chenal Date: Wed, 28 May 2008 13:45:32 +0200 Subject: [PATCH] Use value instead of custom string (for translation purpose) in tab title. --- product.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/product.py b/product.py index 98ccb0cf79..168e80fb86 100644 --- a/product.py +++ b/product.py @@ -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()