=== modified file 'bin/osv/orm.py' --- bin/osv/orm.py 2010-06-23 15:47:37 +0000 +++ bin/osv/orm.py 2010-08-05 11:32:50 +0000 @@ -1100,11 +1100,11 @@ if not trans and ('base_model_name' in context): trans = self.pool.get('ir.translation')._get_source(cr, user, context['base_model_name'], 'view', context['lang'], node.get('string').encode('utf8')) if trans: - node.set('string', trans) + node.set('string', tools.ustr(trans)) if node.get('sum'): trans = self.pool.get('ir.translation')._get_source(cr, user, self._name, 'view', context['lang'], node.get('sum').encode('utf8')) if trans: - node.set('sum', trans) + node.set('sum', tools.ustr(trans)) if childs: for f in node: