Révision 2c52ca25
Ajouté par Mikaël Ates il y a plus de 9 ans
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): |
Formats disponibles : Unified diff
No request with shell.