From 4487ba68f5d07355a2c1b8735be5d01b9da41c1a Mon Sep 17 00:00:00 2001 From: ismail Date: Mon, 14 Jul 2025 17:45:33 +0300 Subject: [PATCH] small update --- inventory/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inventory/models.py b/inventory/models.py index 22c40820..d1cd90f1 100644 --- a/inventory/models.py +++ b/inventory/models.py @@ -888,7 +888,7 @@ class CarFinance(models.Model): max_digits=14, decimal_places=2, verbose_name=_("Cost Price") ) selling_price = models.DecimalField( - max_digits=14, decimal_places=2, verbose_name=_("Selling Price"), + max_digits=14, decimal_places=2, verbose_name=_("Selling Price"),default=Decimal("0.00") ) marked_price = models.DecimalField( max_digits=14, decimal_places=2, verbose_name=_("Marked Price"),default=Decimal("0.00")