diff --git a/trytond/res/user.py b/trytond/res/user.py index d75e98e1be..1f5f8b499a 100644 --- a/trytond/res/user.py +++ b/trytond/res/user.py @@ -198,18 +198,20 @@ class User(OSV): fields = self.fields_get(cursor, user, fields_names=fields_names, context=context) - xml = '' \ - '
' tree = etree.fromstring(xml) arch, fields = self._view_look_dom_arch(cursor,