Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6286 Lượt xem

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. ?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

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

Ảnh đại diện
Huỷ bỏ

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?

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 12 24
2377
2
thg 3 15
3497
0
thg 3 15
3349
3
thg 8 25
6377
0
thg 3 15
5592