summaryrefslogtreecommitdiff
path: root/ishtar/furnitures/forms_items.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar/furnitures/forms_items.py')
-rw-r--r--ishtar/furnitures/forms_items.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ishtar/furnitures/forms_items.py b/ishtar/furnitures/forms_items.py
index f229ec4f2..05aa07170 100644
--- a/ishtar/furnitures/forms_items.py
+++ b/ishtar/furnitures/forms_items.py
@@ -33,7 +33,7 @@ from ishtar import settings
import models
import widgets
-from forms import Wizard, FinalForm, FormSet, SearchWizard, \
+from forms import Wizard, FinalForm, FormSet, SearchWizard, FloatField,\
formset_factory, get_now, reverse_lazy
from forms_common import get_town_field
from forms_context_records import RecordFormSelection
@@ -102,8 +102,8 @@ class ItemForm(forms.Form):
required=False)
material_type = forms.ChoiceField(label=_("Material type"),
choices=models.MaterialType.get_types())
- volume = forms.IntegerField(label=_(u"Volume"), required=False)
- weight = forms.IntegerField(label=_(u"Weight"), required=False)
+ volume = FloatField(label=_(u"Volume"), required=False)
+ weight = FloatField(label=_(u"Weight"), required=False)
item_number = forms.IntegerField(label=_(u"Item number"), required=False)
class DateForm(forms.Form):