diff options
Diffstat (limited to 'archaeological_warehouse')
-rw-r--r-- | archaeological_warehouse/forms.py | 7 | ||||
-rw-r--r-- | archaeological_warehouse/models.py | 6 |
2 files changed, 7 insertions, 6 deletions
diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py index 8a16a53ce..5b22362c4 100644 --- a/archaeological_warehouse/forms.py +++ b/archaeological_warehouse/forms.py @@ -49,6 +49,7 @@ from archaeological_finds.models import ( IntegrityType, MaterialType, ObjectType, + RecommendedTreatmentType, RemarkabilityType, TreatmentEmergencyType, Treatment, @@ -598,8 +599,8 @@ class ContainerSelect(DocumentItemSelect): conservatory_state = forms.ChoiceField(label=_("Conservatory state"), choices=[]) alterations = forms.ChoiceField(label=_("Alteration"), choices=[]) alteration_causes = forms.ChoiceField(label=_("Alteration cause"), choices=[]) - preservation_to_considers = forms.ChoiceField( - choices=[], label=_("Preservation type") + recommended_treatments = forms.ChoiceField( + choices=[], label=_("Recommended treatments") ) treatment_emergency = forms.ChoiceField(choices=[], label=_("Treatment emergency")) @@ -610,7 +611,7 @@ class ContainerSelect(DocumentItemSelect): FieldType("conservatory_state", ConservatoryState), FieldType("alterations", AlterationType), FieldType("alteration_causes", AlterationCauseType), - FieldType("preservation_to_considers", TreatmentType), + FieldType("recommended_treatments", RecommendedTreatmentType), FieldType("treatment_emergency", TreatmentEmergencyType), FieldType("container_type", models.ContainerType), ] diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py index 8a52026a6..af55fd74b 100644 --- a/archaeological_warehouse/models.py +++ b/archaeological_warehouse/models.py @@ -1018,9 +1018,9 @@ class Container( pgettext_lazy("key for text search", "object-type"), "finds__object_types__label__iexact", ), - "preservation_to_considers": SearchAltName( - pgettext_lazy("key for text search", "preservation"), - "finds__preservation_to_considers__label__iexact", + "recommended_treatments": SearchAltName( + pgettext_lazy("key for text search", "recommended-treatments"), + "finds__recommended_treatments__label__iexact", ), "conservatory_state": SearchAltName( pgettext_lazy("key for text search", "conservatory"), |