Project

General

Profile

« Previous | Next » 

Revision a50df9c4

Added by Mikaël Ates over 12 years ago

actes: remove 'lost' from act states list, not a selectable state anymore.

View differences:

calebasse/agenda/appointments.py
151 151
        validation_states.pop('ACT_DOUBLE')
152 152
    vs = [('VALIDE', 'Présent')]
153 153
    validation_states.pop('VALIDE')
154
    validation_states.pop('ACT_LOST')
154 155
    validation_states = vs + sorted(validation_states.items(), key=lambda tup: tup[0])
155 156
    for event in events:
156 157
        appointment = Appointment()

Also available in: Unified diff