From dc7fe589b8f50cfc01375f9a309b4a66d49ca7e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 24 Mar 2012 09:19:05 +0100 Subject: [PATCH] default_active must return a boolean --- 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 c7e86366f1..7a649d363b 100644 --- a/trytond/res/user.py +++ b/trytond/res/user.py @@ -128,7 +128,7 @@ class User(ModelSQL, ModelView): return None def default_active(self): - return 1 + return True def default_menu(self): pool = Pool()