diff --git a/store/models.py b/store/models.py index 92c297e..549cda9 100644 --- a/store/models.py +++ b/store/models.py @@ -346,7 +346,7 @@ class Checklist(models.Model): @property def delivery_price_CN_RU(self) -> Decimal: - return getattr(self.category, 'delivery_price_CN_RU', 0.0) + return getattr(self.category, 'delivery_price_CN_RU', Decimal(0)) @property def commission_rub(self) -> Decimal: