[FIX] builtbot fix

bzr revid: tfr@openerp.com-20110119033008-tm6zhajagjezhesf
This commit is contained in:
Thibault Francois 2011-01-19 04:30:08 +01:00
parent 44ecc85b46
commit cbafa950d0
1 changed files with 2 additions and 0 deletions

View File

@ -1266,6 +1266,8 @@ e.g.: Every other month on the last Sunday of the month for 10 occurrences:\
until_date = base_until_date and datetime.strptime(base_until_date[:10]+ ' 23:59:59', "%Y-%m-%d %H:%M:%S") or False
if count > limit:
break
if not data['date']:
continue
event_date = datetime.strptime(data['date'], "%Y-%m-%d %H:%M:%S")
# To check: If the start date is replace by event date .. the event date will be changed by that of calendar code
start_date = event_date