mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 04:59:18 +00:00
fix: Lead not getting linked to call logs (#24593)
Co-authored-by: Nabin Hait <nabinhait@gmail.com>
This commit is contained in:
@@ -78,7 +78,9 @@ def get_scheduled_employees_for_popup(communication_medium):
|
|||||||
|
|
||||||
def strip_number(number):
|
def strip_number(number):
|
||||||
if not number: return
|
if not number: return
|
||||||
# strip 0 from the start of the number for proper number comparisions
|
# strip + and 0 from the start of the number for proper number comparisions
|
||||||
|
# eg. +7888383332 should match with 7888383332
|
||||||
# eg. 07888383332 should match with 7888383332
|
# eg. 07888383332 should match with 7888383332
|
||||||
|
number = number.lstrip('+')
|
||||||
number = number.lstrip('0')
|
number = number.lstrip('0')
|
||||||
return number
|
return number
|
||||||
|
|||||||
Reference in New Issue
Block a user