mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-15 15:45:01 +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",
|
||||
or_filters={
|
||||
"phone": ["like", "%{}".format(number)],
|
||||
"whatsapp_no": ["like", "%{}".format(number)],
|
||||
"mobile_no": ["like", "%{}".format(number)],
|
||||
},
|
||||
limit=1,
|
||||
|
||||
Reference in New Issue
Block a user