diff --git a/addons/web/static/src/js/core.js b/addons/web/static/src/js/core.js index 6e9aafa83c3..31a94756246 100644 --- a/addons/web/static/src/js/core.js +++ b/addons/web/static/src/js/core.js @@ -776,6 +776,7 @@ $.fn.tooltip.Constructor.DEFAULTS.trigger = 'hover focus click'; $.fn.tooltip.Constructor.DEFAULTS.container = 'body'; //overwrite bootstrap tooltip method to prevent showing 2 tooltip at the same time var bootstrap_show_function = $.fn.tooltip.Constructor.prototype.show; +$.fn.modal.Constructor.prototype.enforceFocus = function () { }; $.fn.tooltip.Constructor.prototype.show = function () { $('.tooltip').remove(); //the following fix the bug when using placement