diff --git a/addons/base_calendar/base_calendar.py b/addons/base_calendar/base_calendar.py index c216efa9f0e..41629cf2704 100644 --- a/addons/base_calendar/base_calendar.py +++ b/addons/base_calendar/base_calendar.py @@ -1233,9 +1233,10 @@ 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], "%Y-%m-%d") or False if count > limit: break - event_date = datetime.strptime(data['date'], "%Y-%m-%d %H:%M:%S") - if start_date and start_date <= event_date: - start_date = event_date +# To check: If the start date is replace by event date .. the event date will be changed by that of calendar code +# if start_date and start_date <= event_date: +# start_date = event_date + start_date = event_date if not data['rrule']: if start_date and (event_date < start_date): continue