WuNian
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
muk_security/models/res_users.py
|
@ -50,8 +50,8 @@ class AccessUser(models.Model): |
|
|
#---------------------------------------------------------- |
|
|
#---------------------------------------------------------- |
|
|
|
|
|
|
|
|
def browse(self, arg=None, *args, **kwargs): |
|
|
def browse(self, arg=None, *args, **kwargs): |
|
|
if isinstance(arg, NoSecurityUid): |
|
|
|
|
|
arg = super(NoSecurityUid, id).__int__() |
|
|
|
|
|
|
|
|
if isinstance(arg, helper.NoSecurityUid): |
|
|
|
|
|
arg = super(helper.NoSecurityUid, id).__int__() |
|
|
return super(AccessUser, self).browse(arg=arg, **kwargs) |
|
|
return super(AccessUser, self).browse(arg=arg, **kwargs) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|