diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-03-04 14:16:15 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-03-04 14:16:15 +0100 |
commit | 33a0434e5336d8252066c87e5084c4dcfa21ecad (patch) | |
tree | 962d7c2aef0e1c943492665007bd592cccc84dff | |
parent | a10841b6caea094ecff73ae16d5a6f48bbd08dd9 (diff) | |
download | Ishtar-33a0434e5336d8252066c87e5084c4dcfa21ecad.tar.bz2 Ishtar-33a0434e5336d8252066c87e5084c4dcfa21ecad.zip |
QA Organization: grammatical gender
-rw-r--r-- | archaeological_finds/forms.py | 2 | ||||
-rw-r--r-- | ishtar_common/forms_common.py | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py index e6d258d8f..dd0074ea3 100644 --- a/archaeological_finds/forms.py +++ b/archaeological_finds/forms.py @@ -589,7 +589,7 @@ class QAFindFormMulti(QAForm): REPLACE_FIELDS = [ 'qa_denomination', 'qa_ue', 'qa_manufacturing_place', 'qa_checked_type', 'qa_check_date', 'qa_conservatory_state', 'qa_treatment_emergency', - 'qa_appraisal_date', # 'qa_collection', + 'qa_appraisal_date', "qa_insurance_value", # 'qa_collection', ] HEADERS = { diff --git a/ishtar_common/forms_common.py b/ishtar_common/forms_common.py index 8d57f0e3e..0be35b2b2 100644 --- a/ishtar_common/forms_common.py +++ b/ishtar_common/forms_common.py @@ -444,10 +444,15 @@ class QAOrganizationFormMulti(QAForm): MULTI = True REPLACE_FIELDS = [ 'qa_organization_type', + 'qa_grammatical_gender' ] qa_organization_type = forms.ChoiceField( label=_("Organization type"), required=False ) + qa_grammatical_gender = forms.ChoiceField( + label=_("Grammatical gender"), + choices=[('', '--')] + list(models.GENDER), + required=False, help_text=_("Can be used by templates")) TYPES = [ FieldType('qa_organization_type', models.OrganizationType), |