Fixed issues with importer and datetime conversion

Fixed issue with models.VatRate.__unicode__() with datetime and decimal fields

Imported VatRates
This commit is contained in:
tec
2014-11-05 16:26:27 +00:00
parent 1a0012c649
commit 96805322de
2 changed files with 5 additions and 4 deletions

View File

@@ -69,4 +69,4 @@ class VatRate(models.Model, RevisionMixin):
comment = models.CharField(max_length=255)
def __unicode__(self):
return self.comment + " " + self.start_at + " @ " + self.rate
return self.comment + " " + str(self.start_at) + " @ " + str(self.rate)