From 365fe5c2ead8c9b3f29a8e696805f891a28bc1a7 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 24 Mar 2020 19:04:54 +0100 Subject: Container: add parents - localisation refactoring --- archaeological_warehouse/forms.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'archaeological_warehouse/forms.py') diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py index f447478f1..9ff09bde4 100644 --- a/archaeological_warehouse/forms.py +++ b/archaeological_warehouse/forms.py @@ -266,6 +266,10 @@ class ContainerForm(CustomForm, ManageOldType, forms.Form): associated_models = {'container_type': models.ContainerType, 'location': models.Warehouse, 'parent': models.Container} + reference = forms.CharField(label=_(u"Ref."), max_length=200) + old_reference = forms.CharField(label=_(u"Old reference"), required=False, + max_length=200) + container_type = forms.ChoiceField(label=_(u"Container type"), choices=[]) location = forms.IntegerField( label=_("Current location (warehouse)"), widget=widgets.JQueryAutoComplete( -- cgit v1.2.3