Revert "[FIX] web: remove ­ when saving phone number"

This reverts commit b8b0f947bf.
This commit is contained in:
Christophe Simonis
2018-04-16 20:26:21 +02:00
parent 74033eb007
commit 5dca782100
2 changed files with 1 additions and 25 deletions
@@ -998,21 +998,6 @@ var FieldPhone = FieldEmail.extend({
// important right now.
this.$el.removeClass('o_text_overflow');
},
* Remove possibly present ­ characters when saving number
*
* @override
* @private
*/
_setValue: function (value, options) {
// NOT NEEDED AS OF SAAS-11.3
if (value) {
// remove possibly pasted ­ characters
value = value.replace(/\u00AD/g, '');
}
return this._super(value, options);
},
/**
});
var UrlWidget = InputField.extend({