@ -24,7 +24,10 @@ from openerp.tools.safe_eval import safe_eval
from openerp.exceptions import Warning
import logging
# Lib for phone number reformating -> pip install phonenumbers
import phonenumbers
try:
except ImportError:
logger.warning('Cannot import phonenumbers')
_logger = logging.getLogger(__name__)
@ -21,7 +21,10 @@
from openerp.osv import orm
from openerp.report import report_sxw
class base_phone_installed(orm.AbstractModel):
@ -22,7 +22,10 @@
from openerp.osv import orm, fields
from openerp.tools.translate import _
##############################################################################
from openerp import models, api, _
class wizard_create_crm_phonecall(models.TransientModel):