* fixed float/decimal conversion
This commit is contained in:
parent
3a8b7b07a7
commit
82bdd2a9ee
|
|
@ -346,7 +346,7 @@ class Checklist(models.Model):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def delivery_price_CN_RU(self) -> Decimal:
|
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
|
@property
|
||||||
def commission_rub(self) -> Decimal:
|
def commission_rub(self) -> Decimal:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user