Pass sender as contact email in Opportunity (#11308)
Always pass sender as the contact email while creating an opportunity for a website enquiry.
This commit is contained in:
parent
a5eee4629f
commit
1f99bea6ce
@ -32,6 +32,7 @@ def send_message(subject="Website Query", message="", sender="", status="Open"):
|
|||||||
enquiry_from = 'Customer' if customer else 'Lead',
|
enquiry_from = 'Customer' if customer else 'Lead',
|
||||||
status = 'Open',
|
status = 'Open',
|
||||||
title = subject,
|
title = subject,
|
||||||
|
contact_email = sender,
|
||||||
to_discuss = message
|
to_discuss = message
|
||||||
))
|
))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user