From 5f55ffd74c8689d84d53582da5501d49d511de44 Mon Sep 17 00:00:00 2001 From: Marwan Alwali Date: Tue, 21 Jan 2025 15:55:22 +0300 Subject: [PATCH] update --- .../__pycache__/urls.cpython-311.pyc | Bin 2072 -> 2072 bytes inventory/__pycache__/forms.cpython-311.pyc | Bin 31062 -> 31062 bytes inventory/__pycache__/models.cpython-311.pyc | Bin 81944 -> 81921 bytes inventory/__pycache__/urls.cpython-311.pyc | Bin 21804 -> 21804 bytes inventory/__pycache__/utils.cpython-311.pyc | Bin 10566 -> 10566 bytes inventory/__pycache__/views.cpython-311.pyc | Bin 150225 -> 150225 bytes .../migrations/0005_merge_20250119_1555.py | 2 +- inventory/models.py | 2 +- 8 files changed, 2 insertions(+), 2 deletions(-) diff --git a/car_inventory/__pycache__/urls.cpython-311.pyc b/car_inventory/__pycache__/urls.cpython-311.pyc index 5f7798e7ee8f558a1b63cad439aa72fbeb0fded2..8c3b05d27bf91820c1f9adcb0f578ca65fed71a5 100644 GIT binary patch delta 19 ZcmbOsFhhWAIWI340}x!R-^j(s0RSz71WW(` delta 19 ZcmbOsFhhWAIWI340}yn&Z{*_R001hT1IGXW diff --git a/inventory/__pycache__/forms.cpython-311.pyc b/inventory/__pycache__/forms.cpython-311.pyc index 4472c5b546b177e82b0fc894166c0d7dac54e005..801a2fdab226dee3154999502e87fe6750ae9266 100644 GIT binary patch delta 21 bcmcciiSgPeMy}<&yj%=Gz_Vr}mro@CR?Y^X delta 21 bcmcciiSgPeMy}<&yj%=G(3rcC%cl|mSWyPn diff --git a/inventory/__pycache__/models.cpython-311.pyc b/inventory/__pycache__/models.cpython-311.pyc index 106775960b38c0e8cd7149668256ac003a678b53..1c05d590fcf4f4c5ed11f16bc626e53723938de6 100644 GIT binary patch delta 172 zcmbQyz}ncr%DbGGmx}=i7On3~=ibPB_WERjd7P8icc^i5B$pPK&{g{46=y z=!TFaFHmIz!wr7np4uz?S{FF9itK?Rewymj59%>WO_u-1&-s&yfuTsBnSo*R!W&A= zljX9cnUt9)FVvOT{Nr{-qL%gt22nWbS#K#IWI340}$}6*~n$12>>}^1l|Au delta 19 ZcmX>WbS#K#IWI340}zDgZRE1i1OPeh1nU3* diff --git a/inventory/__pycache__/views.cpython-311.pyc b/inventory/__pycache__/views.cpython-311.pyc index eb1994454c0639ebc10968ecde460143c89b1753..087cea2ba2a653a7644aa932caa074355c86be2d 100644 GIT binary patch delta 27 hcmcaOmGk0MPOjy=yj%=Gz_X^2tCfp!D;LvoF92_@2U!3B delta 27 hcmcaOmGk0MPOjy=yj%=Gke=7b)yl=Vm5b@P7XWcc2X+7e diff --git a/inventory/migrations/0005_merge_20250119_1555.py b/inventory/migrations/0005_merge_20250119_1555.py index e3a1090a..9e584889 100644 --- a/inventory/migrations/0005_merge_20250119_1555.py +++ b/inventory/migrations/0005_merge_20250119_1555.py @@ -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'), ] diff --git a/inventory/models.py b/inventory/models.py index 62efab07..51dbab5f 100644 --- a/inventory/models.py +++ b/inventory/models.py @@ -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):