Project

General

Profile

« Previous | Next » 

Revision 3cfcd728

Added by Mikaël Ates over 9 years ago

actes: set already_billed field at Act model saving.

View differences:

calebasse/actes/models.py
229 229
    # END Specific to sessad healthcare
230 230

  
231 231
    def save(self, *args, **kwargs):
232
        if self.is_billed:
233
            self.already_billed = True
232 234
        super(Act, self).save(*args, **kwargs)
233 235

  
234 236
    def duration(self):

Also available in: Unified diff