* fixed float/decimal conversion
This commit is contained in:
parent
8418e9002d
commit
19d6fdddfb
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user