Fix get_rec_name for issue 830

This commit is contained in:
Bertrand Chenal committed 2009-02-28 22:37:08 +01:00
1 parent 810964dcdc
commit 04b458864f
1 file changed
+1 -1
+1 -1
View File
@@ -34,7 +34,7 @@ class Category(OSV):
def get_rec_name(self, cursor, user, ids, name, arg, context=None):
if not ids:
return {}
res = []
res = {}
categories = self.browse(cursor, user, ids, context=context)
for category in categories:
if category.parent: