feat: get lead with WhatsApp number

This commit is contained in:
MOHAMMED NIYAS 2022-12-07 17:50:35 +05:30 committed by GitHub
parent 7cbb6c4de9
commit 922375c3ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -453,6 +453,7 @@ def get_lead_with_phone_number(number):
"Lead",
or_filters={
"phone": ["like", "%{}".format(number)],
"whatsapp_no": ["like", "%{}".format(number)],
"mobile_no": ["like", "%{}".format(number)],
},
limit=1,