Révision b93b5302
Ajouté par Mikaël Ates il y a presque 10 ans
calebasse/actes/models.py | ||
---|---|---|
227 | 227 |
# END Specific to sessad healthcare |
228 | 228 |
|
229 | 229 |
def save(self, *args, **kwargs): |
230 |
if self.parent_event and not self.parent_event.canceled: |
|
231 |
super(Act, self).save(*args, **kwargs) |
|
230 |
super(Act, self).save(*args, **kwargs) |
|
232 | 231 |
|
233 | 232 |
def duration(self): |
234 | 233 |
'''Return a displayable duration for this field.''' |
Formats disponibles : Unified diff
actes: act saving does not care about event and event canceling, if necessary check elsewhere.