diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-03-09 17:45:09 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-03-09 17:45:09 +0100 |
commit | 723a0eb629d4c700cd57a7da4d2f8db4a3092fd1 (patch) | |
tree | d2741b4c416eef3b7d590ff00507cb6805dfba0e /ishtar_common/forms_common.py | |
parent | 925cb219bb8a9c411deb3e40a0d2bc13cc0cb10f (diff) | |
download | Ishtar-723a0eb629d4c700cd57a7da4d2f8db4a3092fd1.tar.bz2 Ishtar-723a0eb629d4c700cd57a7da4d2f8db4a3092fd1.zip |
Person form: title is not required anymore (refs #3510)
Diffstat (limited to 'ishtar_common/forms_common.py')
-rw-r--r-- | ishtar_common/forms_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/forms_common.py b/ishtar_common/forms_common.py index e2c0e5db5..0ce87025c 100644 --- a/ishtar_common/forms_common.py +++ b/ishtar_common/forms_common.py @@ -370,7 +370,7 @@ class SimplePersonForm(ManageOldType, NewItemForm): form_label = _("Identity") associated_models = {'attached_to': models.Organization, 'title': models.TitleType} - title = forms.ChoiceField(label=_("Title"), choices=[]) + title = forms.ChoiceField(label=_("Title"), choices=[], required=False) salutation = forms.CharField(label=_("Salutation"), max_length=200, required=False) surname = forms.CharField(label=_(u"Surname"), max_length=50, |