Project

General

Profile

« Previous | Next » 

Revision 2c52ca25

Added by Mikaël Ates over 9 years ago

No request with shell.

View differences:

calebasse/actes/models.py
213 213
            self.valide = True
214 214
        else:
215 215
            self.valide = False
216
        get_request().record('act-update', '{obj_id} state changed to {state} by {user} from {ip}',
216
        try:
217
            get_request().record('act-update', '{obj_id} state changed to {state} by {user} from {ip}',
217 218
                              obj_id=self.id, state=last_validation_state, user=author)
219
        except:
220
            pass
218 221
        self.save()
219 222

  
220 223
    def is_billable(self):

Also available in: Unified diff