remove oooold typo
This commit is contained in:
parent
792fc2bfc0
commit
7d4ad533f7
|
@ -619,13 +619,13 @@ class CreditNote(CreatedUpdatedModel):
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
if self.user:
|
if self.user:
|
||||||
return "creditnoote#%s - %s DKK (customer: user %s)" % (
|
return "creditnote#%s - %s DKK (customer: user %s)" % (
|
||||||
self.id,
|
self.id,
|
||||||
self.amount,
|
self.amount,
|
||||||
self.user.email,
|
self.user.email,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
return "creditnoote#%s - %s DKK (customer: %s)" % (
|
return "creditnote#%s - %s DKK (customer: %s)" % (
|
||||||
self.id,
|
self.id,
|
||||||
self.amount,
|
self.amount,
|
||||||
self.customer,
|
self.customer,
|
||||||
|
|
Loading…
Reference in a new issue