update lead create view #commented the user_create for customer and organization
This commit is contained in:
parent
84d2c9b980
commit
22b87d17f6
@ -6056,7 +6056,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
|
||||
@ -6074,7 +6074,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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user