diff --git a/addons/web/static/src/core/errors/error_dialogs.js b/addons/web/static/src/core/errors/error_dialogs.js index 6c16f4b326e..c9208355b2f 100644 --- a/addons/web/static/src/core/errors/error_dialogs.js +++ b/addons/web/static/src/core/errors/error_dialogs.js @@ -7,7 +7,7 @@ import { registry } from "../registry"; import { useService } from "@web/core/utils/hooks"; import { capitalize } from "../utils/strings"; -import { Component, useState } from "@odoo/owl"; +import { Component, useState, markup } from "@odoo/owl"; // This props are added by the error handler export const standardErrorDialogProps = { @@ -156,6 +156,9 @@ export class RedirectWarningDialog extends Component { if (this.additionalContext) { options.additionalContext = this.additionalContext; } + if (this.actionId.help) { + this.actionId.help = markup(this.actionId.help); + } await this.actionService.doAction(this.actionId, options); this.props.close(); }