diff --git a/base_phone/wizard/number_not_found.py b/base_phone/wizard/number_not_found.py index e8e819f..3580c47 100644 --- a/base_phone/wizard/number_not_found.py +++ b/base_phone/wizard/number_not_found.py @@ -61,7 +61,8 @@ class number_not_found(orm.TransientModel): res = {} if res.get('calling_number'): convert = self.pool['res.partner']._generic_reformat_phonenumbers( - cr, uid, None, {'phone': res.get('calling_number')}, context=context) + cr, uid, None, {'phone': res.get('calling_number')}, + context=context) parsed_num = phonenumbers.parse(convert.get('phone')) res['e164_number'] = phonenumbers.format_number( parsed_num, phonenumbers.PhoneNumberFormat.INTERNATIONAL)