Fixed #65 -- Disallow None value for product default prices

This commit is contained in:
Raphael Michel
2015-07-26 16:31:01 +02:00
parent 984730b31b
commit a0e8e06743
2 changed files with 20 additions and 1 deletions

View File

@@ -844,7 +844,6 @@ class Item(Versionable):
null=True, blank=True,
)
default_price = models.DecimalField(
null=True, blank=True,
verbose_name=_("Default price"),
max_digits=7, decimal_places=2
)