[FIX] Fix all the bug form builtbot

bzr revid: tfr@openerp.com-20110119042017-c97dlh9mft7n19cd
This commit is contained in:
Thibault Francois
2011-01-19 05:20:17 +01:00
parent cbafa950d0
commit ec7fc1cd7d
+1 -1
View File
@@ -1255,7 +1255,7 @@ e.g.: Every other month on the last Sunday of the month for 10 occurrences:\
ids = select
result = []
recur_dict = []
if ids:
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 m.id = ANY(%s)", (ids,) )