[MERGE] forward port branch saas-11.2 up to 90f8f17fb4

This commit is contained in:
Christophe Simonis
2018-04-16 19:50:50 +02:00
1146 changed files with 204707 additions and 210894 deletions
@@ -998,6 +998,21 @@ 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({