summaryrefslogtreecommitdiff
path: root/addons/caldav/orm_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/caldav/orm_utils.py')
-rw-r--r--addons/caldav/orm_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/caldav/orm_utils.py b/addons/caldav/orm_utils.py
index ab0b4bbb8db..00521831e0f 100644
--- a/addons/caldav/orm_utils.py
+++ b/addons/caldav/orm_utils.py
@@ -31,7 +31,7 @@ if True: # we need this indentation level ;)
"""
if context is None:
context = {}
- self.pool.get('ir.model.access').check(cr, access_rights_uid or user, self._name, 'read', context=context)
+ self.pool.get('ir.model.access').check(cr, access_rights_uid or user, self._name, 'read', True)
query = self._where_calc(cr, user, args, context=context)
self._apply_ir_rules(cr, user, query, 'read', context=context)