diff options
Diffstat (limited to 'ishtar/furnitures/forms_items.py')
| -rw-r--r-- | ishtar/furnitures/forms_items.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ishtar/furnitures/forms_items.py b/ishtar/furnitures/forms_items.py index 2212ec253..6efb705e2 100644 --- a/ishtar/furnitures/forms_items.py +++ b/ishtar/furnitures/forms_items.py @@ -137,12 +137,16 @@ item_creation_wizard = ItemWizard([ class ItemSelect(forms.Form): base_items__context_record__parcel__town = get_town_field() base_items__context_record__parcel__operation__year = forms.IntegerField( - label=_("Year")) + label=_(u"Year")) + base_items__context_record__parcel__operation__code_patriarche = \ + forms.IntegerField(label=_(u"Code PATRIARCHE")) dating__period = forms.ChoiceField( - label=_("Period"), choices=models.Period.get_types()) + label=_(u"Period"), choices=models.Period.get_types()) + # TODO search by warehouse material_type = forms.ChoiceField( label=_("Material type"), choices=models.MaterialType.get_types()) - base_items__is_isolated = forms.NullBooleanField(label=_("Is isolated?")) + base_items__item__description = forms.CharField(label=_(u"Description")) + base_items__is_isolated = forms.NullBooleanField(label=_(u"Is isolated?")) class ItemFormSelection(forms.Form): form_label = _("Item search") |
