default_active must return a boolean
This commit is contained in:
1 parent
73c54ca472
commit
dc7fe589b8
1 file changed
+1
-1
+1
-1
@@ -128,7 +128,7 @@ class User(ModelSQL, ModelView):
|
||||
return None
|
||||
|
||||
def default_active(self):
|
||||
return 1
|
||||
return True
|
||||
|
||||
def default_menu(self):
|
||||
pool = Pool()
|
||||
|
||||
Reference in new issue
Block a user