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
parent
commit
5c447dfcc2
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

@ -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)
Loading…
Cancel
Save