From c97fa01fdcddf00b47a1a8fbd4b772efac1c6d7f Mon Sep 17 00:00:00 2001 From: Franco Leyes Date: Fri, 18 Sep 2026 16:58:58 -0300 Subject: [PATCH] [FIX] base_exception: reload the view after the exception dialog The dialog can confirm the record (ticking "Ignore Exceptions" calls action_confirm on it), but closing it only closes the dialog: the view underneath keeps showing the record as it was before, so the user sees a quotation that is already a sales order. Reload once the dialog closes. --- base_exception/static/src/js/base_exception.esm.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/base_exception/static/src/js/base_exception.esm.js b/base_exception/static/src/js/base_exception.esm.js index 3ae4c083176..4abd6f1c681 100644 --- a/base_exception/static/src/js/base_exception.esm.js +++ b/base_exception/static/src/js/base_exception.esm.js @@ -13,7 +13,13 @@ async function popUpException(env, _action) { // Do a soft reload before displaying the popup to display the exception // on the Form view await env.services.action.restore(controller.jsId); - await env.services.action.doAction(popupAction); + await env.services.action.doAction(popupAction, { + onClose: () => + env.services.action.doAction({ + type: "ir.actions.client", + tag: "soft_reload", + }), + }); } function baseExceptionErrorHandler(env, uncaughtError, originalError) {