Project

General

Profile

« Previous | Next » 

Revision ec2639b7

Added by Jérôme Schneider over 13 years ago

agenda: test if an occurrence have a room

View differences:

calebasse/agenda/appointments.py
else:
self.type = "busy-elsewhere"
self.service_name = service.name
self.room = occurrence.event.room.name
if occurrence.event.room:
self.room = occurrence.event.room.name
self.description = occurrence.event.description
if occurrence.event.event_type.label == 'patient_appointment':
event_act = occurrence.event.eventact

Also available in: Unified diff