From 4f2038ebef977bb1d0e0ba1869637592c65df394 Mon Sep 17 00:00:00 2001 From: MuK IT GmbH Date: Tue, 15 Jan 2019 00:13:19 +0000 Subject: [PATCH] publish muk_security - 12.0 --- muk_security/__manifest__.py | 2 +- muk_security/models/mixins_access_groups.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/muk_security/__manifest__.py b/muk_security/__manifest__.py index 669bd38..2d2c553 100644 --- a/muk_security/__manifest__.py +++ b/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", diff --git a/muk_security/models/mixins_access_groups.py b/muk_security/models/mixins_access_groups.py index eeb63eb..24b4cb3 100644 --- a/muk_security/models/mixins_access_groups.py +++ b/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