diff options
Diffstat (limited to 'ishtar/ishtar_base/models.py')
-rw-r--r-- | ishtar/ishtar_base/models.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ishtar/ishtar_base/models.py b/ishtar/ishtar_base/models.py index 6de782fcf..4c4cdfc2e 100644 --- a/ishtar/ishtar_base/models.py +++ b/ishtar/ishtar_base/models.py @@ -551,7 +551,7 @@ class File(BaseHistorizedItem, OwnPerms): null=True, blank=True) postal_code = models.CharField(_(u"Main address - postal code"), max_length=10, null=True, blank=True) - comment = models.TextField(_(u"Comment")) + comment = models.TextField(_(u"Comment"), null=True, blank=True) history = HistoricalRecords() class Meta: @@ -898,7 +898,6 @@ class ContextRecord(BaseHistorizedItem, OwnPerms): return JOINT.join([unicode(item) for item in [self.parcel, self.label] if item]) - def full_label(self): if not self.parcel.operation: return unicode(self) |