|
@@ -20,7 +20,8 @@ class AbstractItem(models.Model):
|
|
|
class Cost(AbstractItem):
|
|
|
""" A monthtly cost we have to pay
|
|
|
"""
|
|
|
- price = models.PositiveIntegerField(help_text="Coût mensuel")
|
|
|
+ price = models.FloatField(help_text="Coût mensuel")
|
|
|
+
|
|
|
|
|
|
class Meta:
|
|
|
verbose_name = 'Coût'
|
|
@@ -36,7 +37,7 @@ class Cost(AbstractItem):
|
|
|
class Good(AbstractItem):
|
|
|
""" A good, which replacement is provisioned
|
|
|
"""
|
|
|
- price = models.PositiveIntegerField()
|
|
|
+ price = models.FloatField()
|
|
|
provisioning_duration = models.DurationField(
|
|
|
choices=settings.PROVISIONING_DURATIONS)
|
|
|
|