Project

General

Profile

« Previous | Next » 

Revision 3fe7dd91

Added by Mikaël Ates over 11 years ago

actes: automated validation will sanitize stateless acts (bis).

View differences:

calebasse/actes/validation.py
79 79
            nb_acts_enf_hosp = nb_acts_enf_hosp + 1
80 80
        if act.is_state('ACT_LOST') or act.is_lost:
81 81
            nb_acts_losts = nb_acts_losts + 1
82
        if not act.get_state():
83
            act.set_state('VALIDE', author=user, auto=True)
82 84

  
83 85
    nb_acts_total = len(acts_of_the_day)
84 86
    patients = {}

Also available in: Unified diff