Browse Source
Merge pull request #6 from SDIsl/11.0
[FIX] incorrect number of parameters on _browse method
pull/13/head
Mathias Markl
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): |
|
|
|
#---------------------------------------------------------- |
|
|
|
|
|
|
|
@classmethod |
|
|
|
def _browse(cls, ids, env, prefetch=None): |
|
|
|
def _browse(cls, ids, env, prefetch=None, add_prefetch=True): |
|
|
|
return super(AccessUser, cls)._browse([ |
|
|
|
id if not isinstance(id, helper.NoSecurityUid) |
|
|
|
else super(helper.NoSecurityUid, id).__int__() |
|
|
|
for id in ids], env, prefetch=prefetch) |
|
|
|
for id in ids], env, prefetch=prefetch, add_prefetch=add_prefetch) |