diff --git a/outlook/src/taskpane/index.tsx b/outlook/src/taskpane/index.tsx index b74d213..3df5267 100644 --- a/outlook/src/taskpane/index.tsx +++ b/outlook/src/taskpane/index.tsx @@ -13,6 +13,20 @@ let isOfficeInitialized = false; const title = 'Odoo for Outlook'; const render = (Component) => { + if (navigator.userAgent.indexOf('Trident') >= 0 || navigator.userAgent.indexOf('Edge') >= 0) { + // Use the addin with Internet Explorer + ReactDOM.render( + + + This addin is unfortunately not compatible with Internet Explorer. Please try again with another + browser. + + , + document.getElementById('container'), + ); + return; + } + ReactDOM.render(