diff --git a/trytond/res/user.py b/trytond/res/user.py index 88581cc838..ea82ac0d71 100644 --- a/trytond/res/user.py +++ b/trytond/res/user.py @@ -35,7 +35,7 @@ class User(OSV): 'set_preferences', 'get_preferences_fields_view', ] - self._sql_constraints = [ + self._sql_constraints += [ ('login_key', 'UNIQUE (login)', 'You can not have two users with the same login!') ]