Commit 7e71ffcb authored by Skia's avatar Skia

Merge branch 'sli' into 'master'

Fix company display for operation creation

See merge request !22
parents 54d3ca8e 5d5f2522
Pipeline #350 passed with stage
in 2 minutes and 47 seconds
......@@ -10,5 +10,6 @@ admin.site.register(AccountingType)
admin.site.register(SimplifiedAccountingType)
admin.site.register(Operation)
admin.site.register(Label)
admin.site.register(Company)
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment