chore: removed comment

(cherry picked from commit 7fda0db51b75f3d4b2b79db47640bb8fdfac26df)
This commit is contained in:
Shariq Ansari 2025-09-03 12:06:08 +05:30 committed by Mergify
parent 56eecdd260
commit c0050dda71

View File

@ -10,7 +10,7 @@ from crm.fcrm.doctype.crm_notification.crm_notification import notify_user
def validate(doc, method):
if doc.type == "Incoming" and doc.get("from"):
name, doctype = get_lead_or_deal_from_number(doc.get("from"))
if name != None: # only assignes a doctype and name if matching number is found, else does not obstruct creation of new message in whatsapp message doctype (frappe_whatsapp app) which is required for other chat applications
if name != None:
doc.reference_doctype = doctype
doc.reference_name = name