Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
6255 Vizualizări

I would like to test the "Phone Formatting feature in the CRM settings. I mean how Odoo will validate if a phone number has a required prefix or not. 

 My question is: How can I do that in version 12. ?

Imagine profil
Abandonează
Cel mai bun răspuns

Hi, the phone formatting feature has been introduced in v13 only.

It's active by default in v13, you have nothing to setup.

Imagine profil
Abandonează

Hi, can the formatting feature be triggered from the GUI on existing records in res.partner? When creating contacts through the API, the phone number is sanitized, but the formatting is not applied:

vdw >>> kl.search([])[-1].phone='0475617993'

vdw >>> kl.search([])[-1].phone_sanitized

'+32475617993'

vdw >>> kl.search([])[-1].phone='0475617995'

vdw >>> kl.search([])[-1].phone_sanitized

'+32475617995'

vdw >>> kl.search([])[-1].phone

'0475617995'

is it possible to deactivate it?

Related Posts Răspunsuri Vizualizări Activitate
2
dec. 24
2359
2
mar. 15
3480
0
mar. 15
3331
3
aug. 25
6354
0
mar. 15
5581