diff options
Diffstat (limited to 'ishtar/furnitures/forms.py')
-rw-r--r-- | ishtar/furnitures/forms.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ishtar/furnitures/forms.py b/ishtar/furnitures/forms.py index 152439b6f..5553be28c 100644 --- a/ishtar/furnitures/forms.py +++ b/ishtar/furnitures/forms.py @@ -1867,7 +1867,7 @@ class RecordFormGeneral(forms.Form): form_label = _("General") associated_models = {'parcel':models.Parcel, 'unit':models.Unit} parcel = forms.ChoiceField(label=_("Parcel"), choices=[]) - label = forms.CharField(label=_(u"Label"), + label = forms.CharField(label=_(u"ID"), validators=[validators.MaxLengthValidator(200)]) description = forms.CharField(label=_(u"Description"), widget=forms.Textarea, required=False) @@ -2002,7 +2002,7 @@ class ItemWizard(Wizard): class ItemFormBase(forms.Form): form_label = _("Base item") base_model = 'base_items' - base_items__label = forms.CharField(label=_(u"General label"), + base_items__label = forms.CharField(label=_(u"General ID"), validators=[validators.MaxLengthValidator(60)]) base_items__description = forms.CharField(label=_("General description"), widget=forms.Textarea) @@ -2012,7 +2012,7 @@ class ItemFormBase(forms.Form): class ItemForm(forms.Form): form_label = _("Item") associated_models = {'material_type':models.MaterialType,} - label = forms.CharField(label=_(u"Label"), + label = forms.CharField(label=_(u"ID"), validators=[validators.MaxLengthValidator(60)]) description = forms.CharField(label=_("Precise description"), widget=forms.Textarea, required=False) @@ -2146,7 +2146,7 @@ def check_treatment(form_name, type_key, type_list=[], not_type_list=[]): class ResultItemForm(forms.Form): form_label = _("Resulting item") associated_models = {'material_type':models.MaterialType} - label = forms.CharField(label=_(u"Label"), + label = forms.CharField(label=_(u"ID"), validators=[validators.MaxLengthValidator(60)]) description = forms.CharField(label=_("Precise description"), widget=forms.Textarea) |