From ecdf1ed6a6fc6a4479df21bf9b963dba460d0d6d Mon Sep 17 00:00:00 2001 From: "Didier (did)" Date: Wed, 15 Dec 2021 14:25:02 +0000 Subject: [PATCH] [FIX] mail: include legacy_promise_error_handler on public bundle MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this commit, `XmlHttpRequestError abort` could show up as client error with an empty stack trace. see task-2664831 closes odoo/odoo#81531 X-original-commit: 3bd542cef735512700431b32ad2ab93834769a99 Signed-off-by: Sébastien Theys (seb) --- addons/mail/__manifest__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/mail/__manifest__.py b/addons/mail/__manifest__.py index da46e75ef1d..bf0987a60bc 100644 --- a/addons/mail/__manifest__.py +++ b/addons/mail/__manifest__.py @@ -102,6 +102,7 @@ 'web/static/src/legacy/js/services/data_manager.js', 'web/static/src/legacy/js/services/session.js', 'web/static/src/legacy/js/widgets/date_picker.js', + 'web/static/src/legacy/legacy_promise_error_handler.js', 'web/static/src/legacy/legacy_rpc_error_handler.js', 'web/static/src/legacy/utils.js', 'web/static/src/legacy/xml/base.xml',