跳至内容
菜单
此问题已终结
1 回复
6267 查看

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

形象
丢弃
最佳答案

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

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

形象
丢弃

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?

相关帖文 回复 查看 活动
2
12月 24
2365
2
3月 15
3483
0
3月 15
3337
3
8月 25
6358
0
3月 15
5583