diff --git a/bin/addons/base/module/module.py b/bin/addons/base/module/module.py index c6042effc4b..9042ee9e711 100644 --- a/bin/addons/base/module/module.py +++ b/bin/addons/base/module/module.py @@ -244,7 +244,7 @@ class module(osv.osv): m.state not in ('uninstalled','uninstallable','to remove')''', (module.name,)) res = cr.fetchall() if res: - raise orm.except_orm(_('Error'), _('Some installed modules depends on the module you plan to desinstall :\n %s') % '\n'.join(map(lambda x: '\t%s: %s' % (x[0], x[1]), res))) + raise orm.except_orm(_('Error'), _('Some installed modules depend on the module you plan to Uninstall :\n %s') % '\n'.join(map(lambda x: '\t%s: %s' % (x[0], x[1]), res))) self.write(cr, uid, ids, {'state': 'to remove'}) return True diff --git a/bin/wizard/__init__.py b/bin/wizard/__init__.py index 3a576c9caa4..1621559c628 100644 --- a/bin/wizard/__init__.py +++ b/bin/wizard/__init__.py @@ -132,7 +132,7 @@ class interface(netsvc.Service): # translate arch if not isinstance(arch, UpdateableStr): - doc = dom.minidom.parseString(arch) + doc = dom.minidom.parseString(arch.encode('utf8')) self.translate_view(cr, doc, state, lang) arch = doc.toxml()