From ea1997aada0226c349340a723ffabaac96c94d74 Mon Sep 17 00:00:00 2001 From: Vo Minh Thu Date: Wed, 31 Aug 2011 11:06:47 +0200 Subject: [PATCH] [FIX] caldav: ir.model.access.check() has no kwargs anymore. bzr revid: vmt@openerp.com-20110831090647-ee8nxtgfszp8aqzh --- addons/caldav/orm_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)