From dd77f55f046cd136d1ef75b189556327479bb4ea Mon Sep 17 00:00:00 2001 From: Mathias Markl Date: Sat, 11 May 2019 11:14:02 +0200 Subject: [PATCH] Update res_users.py --- muk_security/models/res_users.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/muk_security/models/res_users.py b/muk_security/models/res_users.py index 694e342..c88485f 100644 --- a/muk_security/models/res_users.py +++ b/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