Project

General

Profile

« Previous | Next » 

Revision 08bf3477

Added by Mikaël Ates (de retour le 5 mars) about 11 years ago

actes: add two new validation states.

View differences:

calebasse/actes/models.py
142 142

  
143 143
    def is_absent(self):
144 144
        state = self.get_state()
145
        if state and state.state_name in ('ABS_NON_EXC', 'ABS_EXC', 'ANNUL_NOUS',
145
        if state and state.state_name in ('ABS_NON_EXC', 'ABS_EXC', 'ABS_INTER', 'ANNUL_NOUS',
146 146
                'ANNUL_FAMILLE', 'REPORTE', 'ABS_ESS_PPS', 'ENF_HOSP'):
147 147
            return True
148 148
        return False

Also available in: Unified diff