diff --git a/trytond/res/user.py b/trytond/res/user.py index ef9921416f..403d03f64a 100644 --- a/trytond/res/user.py +++ b/trytond/res/user.py @@ -214,18 +214,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,