From 33bcdb096df9e56238f6e21ad0c1da7bcd8e87c9 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 6 Apr 2020 12:31:38 +0200 Subject: New container localisation - adapt sheets, imports --- archaeological_warehouse/forms.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'archaeological_warehouse/forms.py') diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py index e03918965..a7390a890 100644 --- a/archaeological_warehouse/forms.py +++ b/archaeological_warehouse/forms.py @@ -372,15 +372,14 @@ class ContainerSelect(DocumentItemSelect): label=_(u"Full text search"), widget=widgets.SearchWidget( 'archaeological-warehouse', 'container' )) - location_name = get_warehouse_field( - label=_(u"Current location (warehouse)")) - responsible_name = get_warehouse_field(label=_(u"Responsible warehouse")) - container_type = forms.ChoiceField(label=_(u"Container type"), choices=[]) - reference = forms.CharField(label=_(u"Ref.")) - old_reference = forms.CharField(label=_(u"Old reference")) + location_name = get_warehouse_field(label=_("Warehouse")) + container_type = forms.ChoiceField(label=_("Container type"), choices=[]) + reference = forms.CharField(label=_("Ref.")) + old_reference = forms.CharField(label=_("Old reference")) comment = forms.CharField(label=_(u"Comment")) - no_finds = forms.NullBooleanField(label=_(u"No associated finds")) - empty = forms.NullBooleanField(label=_(u"Currently empty")) + contain_containers = forms.NullBooleanField(label=_("Contain containers")) + empty = forms.NullBooleanField(label=_("Currently empty")) + is_stationary = forms.NullBooleanField(label=_("Is stationary")) archaeological_sites = forms.IntegerField( label=_("Archaeological site (attached to the operation)"), -- cgit v1.2.3