[IMP] small fix in YAML XML import

bzr revid: fp@openerp.com-20121201113524-8n94vnpxt3g21b1b
This commit is contained in:
Fabien Pinckaers 2012-12-01 12:35:24 +01:00
parent 4c0ddb1f01
commit 0a933f44e5
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ class YamlInterpreter(object):
return val
if view_info:
arch = etree.fromstring(view_info['arch'].encode('utf-8'))
arch = etree.fromstring(view_info['arch'].decode('utf-8'))
view = arch if len(arch) else False
else:
view = False