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
commit33bcdb096df9e56238f6e21ad0c1da7bcd8e87c9 (patch)
tree1ac684557b5b6d2b7457b80040f8955e0db19d07 /archaeological_warehouse/forms.py
parent2d7a40f22bc9da10515330becff08c589012c0ba (diff)
downloadIshtar-33bcdb096df9e56238f6e21ad0c1da7bcd8e87c9.tar.bz2
Ishtar-33bcdb096df9e56238f6e21ad0c1da7bcd8e87c9.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)"),