Skip to content

Commit

Permalink
fix Black
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrDlouhy committed Mar 7, 2025
1 parent da68e53 commit 42ff10a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plans/base/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,9 @@ def get_queryset(self):


def get_initial_number(older_invoices):
return (older_invoices.order_by("number").values_list("number", flat=True).last() or 0) + 1
return (
older_invoices.order_by("number").values_list("number", flat=True).last() or 0
) + 1


class AbstractInvoice(BaseMixin, models.Model):
Expand Down

0 comments on commit 42ff10a

Please sign in to comment.