Browse Source

Update res_users.py

pull/16/head
Mathias Markl 6 years ago
committed by GitHub
parent
commit
dd77f55f04
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      muk_security/models/res_users.py

4
muk_security/models/res_users.py

@ -51,8 +51,8 @@ class AccessUser(models.Model):
def browse(self, arg=None, *args, **kwargs):
if isinstance(arg, helper.NoSecurityUid):
arg = super(helper.NoSecurityUid, id).__int__()
return super(AccessUser, self).browse(arg=arg, **kwargs)
arg = super(helper.NoSecurityUid, arg).__int__()
return super(AccessUser, self).browse(arg=arg, *args **kwargs)
@classmethod

Loading…
Cancel
Save