Revision b93b5302
Added by Mikaël Ates over 11 years ago
| calebasse/actes/models.py | ||
|---|---|---|
|
# END Specific to sessad healthcare
|
||
|
|
||
|
def save(self, *args, **kwargs):
|
||
|
if self.parent_event and not self.parent_event.canceled:
|
||
|
super(Act, self).save(*args, **kwargs)
|
||
|
super(Act, self).save(*args, **kwargs)
|
||
|
|
||
|
def duration(self):
|
||
|
'''Return a displayable duration for this field.'''
|
||
Also available in: Unified diff
actes: act saving does not care about event and event canceling, if necessary check elsewhere.