From fe3e213ff9496b283b733be90ef637a9b3572194 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 4 Mar 2008 17:35:43 +0100 Subject: [PATCH] Better guideline --- trytond/res/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!') ]