diff --git a/base_phone/static/src/js/phone_widget.js b/base_phone/static/src/js/phone_widget.js index 9508256..91009c4 100644 --- a/base_phone/static/src/js/phone_widget.js +++ b/base_phone/static/src/js/phone_widget.js @@ -130,7 +130,10 @@ openerp.base_phone = function (instance) { if (value && this.widget === 'phone') { readable_space = formatInternational('', value); readable_no_break_space = readable_space.replace(/\s/g, ' '); - return readable_no_break_space; + return _.template("<%-text%>")({ + href: readable_no_break_space, + text: readable_no_break_space + }); } return res; };