Project

General

Profile

« Previous | Next » 

Revision a4b52050

Added by Mikaël Ates over 12 years ago

actes:: check for state switching at the CMPP automated acts validation.

View differences:

calebasse/actes/validation.py
94 94
    for act in acts_of_the_day:
95 95
        act.validation_locked = True
96 96
        act.save()
97
    """if service.name == 'CMPP':
97
    if service.name == 'CMPP':
98 98
        for patient, _ in patients.items():
99 99
            patient.create_diag_healthcare(user)
100
            patient.automated_switch_state(user)"""
100
            patient.automated_switch_state(user)
101 101
    return (nb_acts_total, nb_acts_validated, nb_acts_absence, nb_acts_double)

Also available in: Unified diff