From 88d280d5003cab90bf3682c2d8395aeeae134dbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 26 May 2026 09:49:36 +0200 Subject: [PATCH] Add phone types as guessing when phonenumbers is not installed Closes #14861 --- modules/party/contact_mechanism.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/party/contact_mechanism.py b/modules/party/contact_mechanism.py index 6b5f41fd2c..e90efbe876 100644 --- a/modules/party/contact_mechanism.py +++ b/modules/party/contact_mechanism.py @@ -238,6 +238,8 @@ class ContactMechanism( types.append('mobile') else: types.extend(_PHONE_TYPES) + else: + types.extend(_PHONE_TYPES) try: validate_email(value, check_deliverability=False) except EmailNotValidError: