s/_/-/ for bill id
This commit is contained in:
parent
0032c272e7
commit
47148454f6
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ class Bill(models.Model):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def reference(self):
|
def reference(self):
|
||||||
return "{}_{}".format(
|
return "{}-{}".format(
|
||||||
self.owner.username,
|
self.owner.username,
|
||||||
self.creation_date.strftime("%Y-%m-%d-%H%M"))
|
self.creation_date.strftime("%Y-%m-%d-%H%M"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue