[FIX] web_editor: correct syntaxerror

Oversight of previous forward-port
This commit is contained in:
Christophe Simonis
2017-03-28 18:27:42 +02:00
parent 2df5faa551
commit aebd043662
+1 -1
View File
@@ -182,4 +182,4 @@ class IrUiView(models.Model):
"""
user_groups = set(self.env.user.groups_id)
views = self.with_context(active_test=False)._views_get(key, bundles=bundles)
return views.filtered(lambda v: not v.groups_id or len(user_groups.intersection(v.groups_id))
return views.filtered(lambda v: not v.groups_id or len(user_groups.intersection(v.groups_id)))