mirror of
https://github.com/ae-utbm/sith.git
synced 2025-10-09 16:24:39 +00:00
fix formatting
This commit is contained in:
@@ -1402,9 +1402,9 @@ class InvoiceCall(models.Model):
|
|||||||
verbose_name = _("Invoice call")
|
verbose_name = _("Invoice call")
|
||||||
verbose_name_plural = _("Invoice calls")
|
verbose_name_plural = _("Invoice calls")
|
||||||
|
|
||||||
|
def __str__(self):
|
||||||
|
return f"invoice call of {self.month} made by {self.club}"
|
||||||
|
|
||||||
def save(self, *args, **kwargs):
|
def save(self, *args, **kwargs):
|
||||||
self.month = self._meta.get_field("month").to_python(self.month)
|
self.month = self._meta.get_field("month").to_python(self.month)
|
||||||
super().save(*args, **kwargs)
|
super().save(*args, **kwargs)
|
||||||
|
|
||||||
def __str__(self):
|
|
||||||
return f"invoice call of {self.month} made by {self.club}"
|
|
||||||
|
Reference in New Issue
Block a user