This commit is contained in:
ismail 2025-07-14 17:40:37 +03:00
parent 719f7af485
commit 33ea23f772
2 changed files with 2 additions and 2 deletions

BIN
dbtest.sqlite3 Normal file

Binary file not shown.

View File

@ -888,10 +888,10 @@ 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")
max_digits=14, decimal_places=2, verbose_name=_("Marked Price"),default=Decimal("0.00")
)
discount_amount = models.DecimalField(
max_digits=14,