Fix string representation of currency
This commit is contained in:
parent
55d1a4e79f
commit
3d09ce4e7e
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class Currency(Model):
|
|||
return cls.objects.get(base=True)
|
||||
|
||||
def __str__(self):
|
||||
return f"{name} ({code})"
|
||||
return f"{self.name} ({self.code})"
|
||||
|
||||
class TaxPolicy(Model):
|
||||
name = LongCharField(blank=True)
|
||||
|
|
Loading…
Reference in a new issue