Merge branch 'main' of http://10.10.1.136:3000/ismail/haikal into frontend

This commit is contained in:
Faheedkhan 2025-08-07 16:14:24 +03:00
commit f482d3f2bd

View File

@ -6061,7 +6061,7 @@ def lead_create(request, dealer_slug):
last_name=instance.last_name,
active=False,
)
customer.create_user_model(for_lead=True)
# customer.create_user_model(for_lead=True)
customer.create_customer_model(for_lead=True)
customer.save()
instance.customer = customer
@ -6079,7 +6079,7 @@ def lead_create(request, dealer_slug):
name=instance.first_name + " " + instance.last_name,
active=False,
)
organization.create_user_model(for_lead=True)
# organization.create_user_model(for_lead=True)
organization.create_customer_model(for_lead=True)
organization.save()
instance.organization = organization