|
|
@ -28,9 +28,9 @@ |
|
|
|
assert lead1.fax == '+33 1 45 44 42 43', 'Fax number not written in E.164 format (lead1)' |
|
|
|
lead2 = self.browse(cr, uid, ref('lead2'), context=context) |
|
|
|
assert lead2.phone == '+41 43 123 45 67', 'Phone number not written in E.164 format (lead2)' |
|
|
|
self.write(cr, uid, ref('lead3'), {'phone': '0891234567'}) |
|
|
|
self.write(cr, uid, ref('lead3'), {'phone': '08912345678'}) |
|
|
|
lead3 = self.browse(cr, uid, ref('lead3'), context=context) |
|
|
|
assert lead3.phone == '+49891234567', 'Phone number not written in E.164 format (lead3)' |
|
|
|
assert lead3.phone == '+49 89 12345678', 'Phone number not written in E.164 format (lead3)' |
|
|
|
- |
|
|
|
Get name from phone number |
|
|
|
- |
|
|
|