Dealer and staff detail and dashboard #178
@ -6061,7 +6061,7 @@ def lead_create(request, dealer_slug):
|
|||||||
last_name=instance.last_name,
|
last_name=instance.last_name,
|
||||||
active=False,
|
active=False,
|
||||||
)
|
)
|
||||||
customer.create_user_model(for_lead=True)
|
# customer.create_user_model(for_lead=True)
|
||||||
customer.create_customer_model(for_lead=True)
|
customer.create_customer_model(for_lead=True)
|
||||||
customer.save()
|
customer.save()
|
||||||
instance.customer = customer
|
instance.customer = customer
|
||||||
@ -6079,7 +6079,7 @@ def lead_create(request, dealer_slug):
|
|||||||
name=instance.first_name + " " + instance.last_name,
|
name=instance.first_name + " " + instance.last_name,
|
||||||
active=False,
|
active=False,
|
||||||
)
|
)
|
||||||
organization.create_user_model(for_lead=True)
|
# organization.create_user_model(for_lead=True)
|
||||||
organization.create_customer_model(for_lead=True)
|
organization.create_customer_model(for_lead=True)
|
||||||
organization.save()
|
organization.save()
|
||||||
instance.organization = organization
|
instance.organization = organization
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user