Fix company display for operation creation

This commit is contained in:
2016-11-06 23:34:15 +01:00
parent 54d3ca8e65
commit 5d5f2522c4
2 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,9 @@ class Company(models.Model):
def get_display_name(self):
return self.name
def __str__(self):
return self.name
class BankAccount(models.Model):
name = models.CharField(_('name'), max_length=30)
iban = models.CharField(_('iban'), max_length=255, blank=True)