From ef25655c2e5939f2d02ef958dcb8efe1c487e372 Mon Sep 17 00:00:00 2001 From: Kenneth SOARES Date: Tue, 30 Sep 2025 17:29:05 +0200 Subject: [PATCH] fix formatting --- counter/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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}"