Revision 4f798ffb
Added by Mikaël Ates about 13 years ago
| calebasse/agenda/appointments.py | ||
|---|---|---|
|
state_name = state.state_name if state else 'NON_VALIDE'
|
||
|
display_name = VALIDATION_STATES[state_name]
|
||
|
if state_name not in ('NON_VALIDE', 'VALIDE', 'ACT_DOUBLE'):
|
||
|
self.act_absence = VALIDATION_STATES.get(self.act_state)
|
||
|
self.act_absence = VALIDATION_STATES.get(state_name)
|
||
|
if state and not state.previous_state and state.state_name == 'NON_VALIDE':
|
||
|
state = None
|
||
|
if not service in services:
|
||
Also available in: Unified diff
agenda: fix act absence in appointment.