summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ishtar/ishtar_base/models.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ishtar/ishtar_base/models.py b/ishtar/ishtar_base/models.py
index af1d38f05..9874460b9 100644
--- a/ishtar/ishtar_base/models.py
+++ b/ishtar/ishtar_base/models.py
@@ -1133,10 +1133,10 @@ related_name='+', verbose_name=_(u"Person in charge of the scientific part"))
if item])
class ContainerType(GeneralType):
- length = models.IntegerField(_(u"Length (mm)"))
- width = models.IntegerField(_(u"Width (mm)"))
- height = models.IntegerField(_(u"Height (mm)"))
- volume = models.IntegerField(_(u"Volume (l)"))
+ length = models.IntegerField(_(u"Length (mm)"), blank=True, null=True)
+ width = models.IntegerField(_(u"Width (mm)"), blank=True, null=True)
+ height = models.IntegerField(_(u"Height (mm)"), blank=True, null=True)
+ volume = models.IntegerField(_(u"Volume (l)"), blank=True, null=True)
reference = models.CharField(_(u"Reference"), max_length=30)
class Meta: