Browse Source

publish muk_security - 12.0

pull/9/head
MuK IT GmbH 6 years ago
parent
commit
4f2038ebef
  1. 2
      muk_security/__manifest__.py
  2. 2
      muk_security/models/mixins_access_groups.py

2
muk_security/__manifest__.py

@ -20,7 +20,7 @@
{
"name": "MuK Security",
"summary": """Security Features""",
"version": "12.0.1.5.2",
"version": "12.0.1.5.3",
"category": "Extra Tools",
"license": "AGPL-3",
"website": "http://www.mukit.at",

2
muk_security/models/mixins_access_groups.py

@ -216,7 +216,7 @@ class AccessGroupsModel(models.AbstractModel):
)
self.env.cr.execute(sql_query, [self.env.user.id])
ids_with_access += list(map(lambda val: val[0], self.env.cr.fetchall()))
return self.browse(ids_with_access)
return self & self.browse(ids_with_access)
#----------------------------------------------------------
# Create, Update, Delete

Loading…
Cancel
Save