From 60dc99af4d1366a6e92596b0f69ffee16f5bd9d2 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Tue, 14 Apr 2015 21:30:22 +0200 Subject: [PATCH] Fix bug #40 --- base_phone/wizard/number_not_found.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_phone/wizard/number_not_found.py b/base_phone/wizard/number_not_found.py index 50a85af..e8e819f 100644 --- a/base_phone/wizard/number_not_found.py +++ b/base_phone/wizard/number_not_found.py @@ -60,7 +60,7 @@ class number_not_found(orm.TransientModel): if not res: res = {} if res.get('calling_number'): - convert = self.pool['phone.common']._generic_reformat_phonenumbers( + convert = self.pool['res.partner']._generic_reformat_phonenumbers( cr, uid, None, {'phone': res.get('calling_number')}, context=context) parsed_num = phonenumbers.parse(convert.get('phone')) res['e164_number'] = phonenumbers.format_number(