From cfd8b8b2a722d425011e8fc9992f35ced800e062 Mon Sep 17 00:00:00 2001 From: "Harry (OpenERP)" Date: Thu, 20 Jan 2011 17:07:25 +0530 Subject: [PATCH] [FIX] crm_meeting: should display all meetings in calendar bzr revid: hmo@tinyerp.com-20110120113725-c0mqy6zb21lsdsuk --- addons/base_calendar/base_calendar.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/base_calendar/base_calendar.py b/addons/base_calendar/base_calendar.py index fb7e011f6af..034eadb0344 100644 --- a/addons/base_calendar/base_calendar.py +++ b/addons/base_calendar/base_calendar.py @@ -1262,8 +1262,8 @@ e.g.: Every other month on the last Sunday of the month for 10 occurrences:\ recur_dict = [] if ids and (base_start_date or base_until_date): cr.execute("select m.id, m.rrule, m.date, m.date_deadline, m.duration, \ - m.exdate, m.exrule, m.recurrent_id, m.recurrent_uid from " + self._table + \ - " m where recurrency=True and m.id = ANY(%s)", (ids,) ) + m.exdate, m.exrule, m.recurrent_id, m.recurrent_uid, m.recurrency from " + self._table + \ + " m where m.id = ANY(%s)", (ids,) ) count = 0 for data in cr.dictfetchall():