Project

General

Profile

« Previous | Next » 

Revision 3fe7dd91

Added by Mikaël Ates over 12 years ago

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

View differences:

calebasse/actes/validation.py
nb_acts_enf_hosp = nb_acts_enf_hosp + 1
if act.is_state('ACT_LOST') or act.is_lost:
nb_acts_losts = nb_acts_losts + 1
if not act.get_state():
act.set_state('VALIDE', author=user, auto=True)
nb_acts_total = len(acts_of_the_day)
patients = {}

Also available in: Unified diff