[FIX] caldav: ir.model.access.check() has no kwargs anymore.

bzr revid: vmt@openerp.com-20110831090647-ee8nxtgfszp8aqzh
This commit is contained in:
Vo Minh Thu
2011-08-31 11:06:47 +02:00
parent 1fc61079f3
commit ea1997aada
+1 -1
View File
@@ -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)