mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 03:29:16 +00:00
Merge pull request #33253 from niyazrazak/patch-9
feat: get lead with WhatsApp number
This commit is contained in:
@@ -453,6 +453,7 @@ def get_lead_with_phone_number(number):
|
|||||||
"Lead",
|
"Lead",
|
||||||
or_filters={
|
or_filters={
|
||||||
"phone": ["like", "%{}".format(number)],
|
"phone": ["like", "%{}".format(number)],
|
||||||
|
"whatsapp_no": ["like", "%{}".format(number)],
|
||||||
"mobile_no": ["like", "%{}".format(number)],
|
"mobile_no": ["like", "%{}".format(number)],
|
||||||
},
|
},
|
||||||
limit=1,
|
limit=1,
|
||||||
|
|||||||
Reference in New Issue
Block a user