From bba8926e32ba74e5ae7047a2c59dd1be57409b1a Mon Sep 17 00:00:00 2001 From: "Harry (OpenERP)" Date: Thu, 28 Oct 2010 17:41:43 +0530 Subject: [PATCH] [FIX] base: remove _(..) in sql_constraints in res.users model bzr revid: hmo@tinyerp.com-20101028121143-kgb3wcsl59k6hn05 --- bin/addons/base/res/res_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/addons/base/res/res_user.py b/bin/addons/base/res/res_user.py index 4de6071f2fe..179825d95b4 100644 --- a/bin/addons/base/res/res_user.py +++ b/bin/addons/base/res/res_user.py @@ -263,7 +263,7 @@ class users(osv.osv): ] _sql_constraints = [ - ('login_key', 'UNIQUE (login)', _('You can not have two users with the same login !')) + ('login_key', 'UNIQUE (login)', 'You can not have two users with the same login !') ] def _get_email_from(self, cr, uid, ids, context=None):