diff --git a/counter/models.py b/counter/models.py index 23ceaaa5..5593c820 100644 --- a/counter/models.py +++ b/counter/models.py @@ -1402,9 +1402,9 @@ class InvoiceCall(models.Model): verbose_name = _("Invoice call") verbose_name_plural = _("Invoice calls") + def __str__(self): + return f"invoice call of {self.month} made by {self.club}" + def save(self, *args, **kwargs): self.month = self._meta.get_field("month").to_python(self.month) super().save(*args, **kwargs) - - def __str__(self): - return f"invoice call of {self.month} made by {self.club}"