diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-03-19 16:58:24 +0100 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-03-19 16:58:24 +0100 | 
| commit | 9c6cdedf75efc289f9b12d2d2eb1798f8cd9c171 (patch) | |
| tree | 0a2186c6a495e087fa21a834148b07eef876b921 /archaeological_warehouse/forms.py | |
| parent | 4801745cf223ccbc0bc76e219069bbbe4071de56 (diff) | |
| download | Ishtar-9c6cdedf75efc289f9b12d2d2eb1798f8cd9c171.tar.bz2 Ishtar-9c6cdedf75efc289f9b12d2d2eb1798f8cd9c171.zip | |
Warehouse form: can add a warehouse responsible if not available (refs #3427)
Diffstat (limited to 'archaeological_warehouse/forms.py')
| -rw-r--r-- | archaeological_warehouse/forms.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py index 553a01ce5..fba848748 100644 --- a/archaeological_warehouse/forms.py +++ b/archaeological_warehouse/forms.py @@ -100,7 +100,7 @@ class WarehouseForm(ManageOldType, forms.Form):          label=_(u"Person in charge"),          widget=widgets.JQueryAutoComplete(              reverse_lazy('autocomplete-person'), -            associated_model=Person), +            associated_model=Person, new=True),          validators=[valid_id(Person)],          required=False)      comment = forms.CharField(label=_(u"Comment"), widget=forms.Textarea, | 
