agenda: show 'R' for recurence exceptions

Closes #4086
This commit is contained in:
Jérôme Schneider 2013-12-11 11:32:13 +01:00
parent 88abfb2ab1
commit 716473775f
1 changed files with 2 additions and 1 deletions

View File

@ -50,7 +50,8 @@ class Appointment(object):
self.event_id = event.id
self.length = delta.seconds / 60
self.title = event.title
if hasattr(event, 'parent') and event.parent.recurrence_periodicity:
if (hasattr(event, 'parent') and event.parent.recurrence_periodicity) or \
event.exception_to:
self.is_recurrent = True
services = event.services.all()
self.date = event.start_datetime.date()