odoo/enterprise#81780

Created by fw-bot
Merged at 4c161543705ec28b6d7d0dd34cd7e24ed07afdc9

Statuses:

Linked pull requests
label
odoo-dev:master-17.0-OPW_4473528-phone_validation-mexican_phone_numbers-ande-424184-fw
head
f9b5545fdaee9b0d5d8f46b6eb5853a2b9bfe8b3
merged
7 months ago by Antoine Demany (ande)
odoo/odoo odoo/enterprise
17.0 #197838 #79416
saas-17.4 #202271 #81663
18.0 #202295 #81677
saas-18.1 #202539 #81765
saas-18.2 #202562 #81774
saas-18.3
saas-18.4
19.0
master #202582 #81780

[FW][FIX] test_whatsapp: phone numbers in mexico

Current behaviour:

Mexican phone numbers are not managed correctly following the 2019 changes in Mexico.
(Removing a 1 in phone numbers)

Cause of the issue:

The phonenumbers library removing support of mexican phone numbers starting with 1 in 8.13.38
The Whatsapp API still using the mexican phone numbers starting with 1

Fixes:

See community commit
Adding extra tests in test_whatsapp
Similar to: a35a039e5fba569cd379b23d37ce512b5a23f7e2

opw-4473528

Forward-Port-Of: #81677
Forward-Port-Of: #79416