s/_/-/ for bill id

This commit is contained in:
Nico Schottelius 2020-03-06 11:11:16 +01:00
parent 0032c272e7
commit 47148454f6

View file

@ -182,7 +182,7 @@ class Bill(models.Model):
@property
def reference(self):
return "{}_{}".format(
return "{}-{}".format(
self.owner.username,
self.creation_date.strftime("%Y-%m-%d-%H%M"))