[FIX]: base_calendar: Fixed sql query

bzr revid: rpa@tinyerp.com-20101005120225-pkp2ty7ieb0ajukz
This commit is contained in:
rpa (Open ERP)
2010-10-05 17:32:25 +05:30
parent b9a4366e1c
commit 2694e39ff1
+1 -1
View File
@@ -1065,7 +1065,7 @@ class calendar_event(osv.osv):
'rule_type': rrule_type,
'id': id,
})
cr.execute(qry, val) # Hopefully psycopg2 works with dicts. But, FIXME
cr.execute(qry % val)
return True
def _get_rulestring(self, cr, uid, ids, name, arg, context=None):