diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-09-19 16:00:58 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-09-19 16:00:58 +0200 |
commit | dd22f90b248ba60b7d247d8a06eedf56c84b955a (patch) | |
tree | 65131b09df6a41f321325a80c3ac010a8946c961 /archaeological_warehouse/forms.py | |
parent | 0941d3abe712958e2ace5fd6e6250ad8224305d0 (diff) | |
download | Ishtar-dd22f90b248ba60b7d247d8a06eedf56c84b955a.tar.bz2 Ishtar-dd22f90b248ba60b7d247d8a06eedf56c84b955a.zip |
Warehouse sheet: fix container list (refs #4240)
Diffstat (limited to 'archaeological_warehouse/forms.py')
-rw-r--r-- | archaeological_warehouse/forms.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py index 57992c7e2..954c01918 100644 --- a/archaeological_warehouse/forms.py +++ b/archaeological_warehouse/forms.py @@ -254,8 +254,9 @@ class ContainerSelect(TableSelect): label=_(u"Full text search"), widget=widgets.SearchWidget( 'archaeological-warehouse', 'container' )) - location = get_warehouse_field(label=_(u"Current location (warehouse)")) - responsible = get_warehouse_field(label=_(u"Responsible warehouse")) + 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.")) |