Merge branch 'main' of http://10.10.1.136:3000/ismail/haikal into frontend
This commit is contained in:
commit
f482d3f2bd
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user