This commit is contained in:
Marwan Alwali 2025-01-21 15:55:22 +03:00
parent 6eb7d5bcd3
commit 5f55ffd74c
8 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
# ('inventory', '0004_invoicemodelbase'),
('inventory', '0004_rename_assigned_lead_staff_remove_customer_city_and_more'),
]

View File

@ -867,7 +867,7 @@ class Lead(models.Model):
verbose_name_plural = _("Leads")
def __str__(self):
return f"{self.first_name} {self.last_name}"
return self.customer.get_full_name
class LeadStatusHistory(models.Model):