summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index fd4a76dc0..71de53a67 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -716,6 +716,7 @@ class Address(BaseHistorizedItem):
phone = models.CharField(_(u"Phone"), max_length=18, null=True, blank=True)
mobile_phone = models.CharField(_(u"Mobile phone"), max_length=18,
null=True, blank=True)
+ email = models.EmailField(_(u"Email"), max_length=75, blank=True, null=True)
history = HistoricalRecords()
class Meta:
@@ -779,7 +780,6 @@ class Person(Address, OwnPerms, ValueGetter) :
surname = models.CharField(_(u"Surname"), max_length=20, blank=True,
null=True)
name = models.CharField(_(u"Name"), max_length=30)
- email = models.CharField(_(u"Email"), max_length=40, blank=True, null=True)
person_types = models.ManyToManyField(PersonType, verbose_name=_(u"Types"))
attached_to = models.ForeignKey('Organization', related_name='members',
verbose_name=_(u"Is attached to"), blank=True, null=True)