odoo/enterprise#79416

Created by Antoine Demany (ande)
Merged at 4d5dab613c5dc46d9d95d0a637349440085cf2f2

Statuses:

Linked pull requests
label
odoo-dev:17.0-OPW_4473528-phone_validation-mexican_phone_numbers-ande
head
c0074f9b16f0925299d906f1b0cbcf4b15cfc1c3
merged
7 months ago by Marketing, Thibault Delavallee (tde)
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

[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