diff --git a/backend/product/models.py b/backend/product/models.py index f65d0cb..0970418 100644 --- a/backend/product/models.py +++ b/backend/product/models.py @@ -383,7 +383,7 @@ class ProductVariant(DirtyFieldsMixin, models.Model): currency = models.CharField( verbose_name='نوع نوسان', max_length=20, choices=currency_type) price_in_dollor = models.DecimalField( - max_digits=12, decimal_places=5, blank=True, null=True, + max_digits=15, decimal_places=8, blank=True, null=True, verbose_name='قیمت به دلار', help_text='قیمت محصول به دلار (محاسبه خودکار)') discount = models.SmallIntegerField(default=0, verbose_name='تخفیف') color = models.CharField(