Projet

Général

Profil

« Précédent | Suivant » 

Révision dd986559

Ajouté par Serghei Mihai (congés, retour 15/05) il y a environ 10 ans

agenda: room renamed to ressource

Closes #4653

Voir les différences:

calebasse/agenda/appointments.py
10 10
class Appointment(object):
11 11

  
12 12
    def __init__(self, title=None, begin_time=None, type=None,
13
            length=None, description=None, room=None):
13
            length=None, description=None, ressource=None):
14 14
        self.title = title
15 15
        self.type = type
16 16
        self.length = length
17 17
        self.description = description
18
        self.room = room
18
        self.ressource = ressource
19 19
        self.is_recurrent = False
20 20
        self.is_billed = False
21 21
        self.convocation_sent = None
......
66 66
        else:
67 67
            self.type = "busy-elsewhere"
68 68
        self.event_id = event.id
69
        if event.room:
70
            self.room = event.room.name
69
        if event.ressource:
70
            self.ressource = event.ressource.name
71 71
        self.description = event.description
72 72
        self.workers_initial = ""
73 73
        self.workers_code = []

Formats disponibles : Unified diff