summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-04-06 12:31:38 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-28 12:15:20 +0100
commit0f96790ca2866d205b262c96ddb1b155abb80ef6 (patch)
tree1ac684557b5b6d2b7457b80040f8955e0db19d07 /archaeological_warehouse/forms.py
parent8b69114b1932329283f3563077a3cb53149af7c8 (diff)
downloadIshtar-0f96790ca2866d205b262c96ddb1b155abb80ef6.tar.bz2
Ishtar-0f96790ca2866d205b262c96ddb1b155abb80ef6.zip
New container localisation - adapt sheets, imports
Diffstat (limited to 'archaeological_warehouse/forms.py')
-rw-r--r--archaeological_warehouse/forms.py15
1 files changed, 7 insertions, 8 deletions
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)"),