From 30f72a9c4a751f937032a5bf20f0234f0d495969 Mon Sep 17 00:00:00 2001 From: WuNian Date: Mon, 22 Apr 2019 13:26:47 +0800 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 8106487..694e342 100644 --- a/muk_security/models/res_users.py +++ b/muk_security/models/res_users.py @@ -50,8 +50,8 @@ class AccessUser(models.Model): #---------------------------------------------------------- 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)