Commit 9ab0ed97 authored by Jérome Perrin's avatar Jérome Perrin

Revert "erp5_calendar: Update stop_date, otherwise it can stay in the past and...

Revert "erp5_calendar: Update stop_date, otherwise it can stay in the past and generate wrong duration (stop_date - start_date)"

This reverts commit 6af8eca1.
parent 628bbd4c
......@@ -73,7 +73,6 @@ class GroupCalendarAssignment(PresencePeriod):
period_list.append(
period.asContext(
start_date=max(period.getStartDate(start_date), start_date),
stop_date=max(period.getStopDate(stop_date), stop_date),
periodicity_stop_date=min(
period.getPeriodicityStopDate(stop_date), stop_date))
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment