Commit 71ec5a73 authored by Jérome Perrin's avatar Jérome Perrin Committed by Gabriel Monnerat

calendar: XXX for now only supports group presence period without a periodicity stop date

cf 2c54e0f5
parent 762aa16e
...@@ -72,7 +72,7 @@ class GroupCalendarAssignment(PresencePeriod): ...@@ -72,7 +72,7 @@ class GroupCalendarAssignment(PresencePeriod):
portal_type=self.getPortalCalendarPeriodTypeList()): portal_type=self.getPortalCalendarPeriodTypeList()):
period_list.append( period_list.append(
period.asContext( period.asContext(
start_date=max(period.getStartDate(start_date), start_date), #start_date=max(period.getStartDate(start_date), start_date),
periodicity_stop_date=min( periodicity_stop_date=min(
period.getPeriodicityStopDate(stop_date), stop_date)) 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