From c22b407f4b627861d8007d5e831e963532268e66 Mon Sep 17 00:00:00 2001 From: "Lucas Perais (lpe)" <lpe@odoo.com> Date: Mon, 2 Oct 2017 17:24:21 +0200 Subject: [PATCH] [FIX] mass_mailing: open links in parent while in backend Before this commit, links that had no target location opened in _self, which is the iframe within which they are embedded. After this commit, thos links are now opened in _parent to simulate closer the beahavior with an actual e-mail --- addons/mass_mailing/views/editor_field_html.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/mass_mailing/views/editor_field_html.xml b/addons/mass_mailing/views/editor_field_html.xml index 611a54e05eaa..a89a2d764102 100644 --- a/addons/mass_mailing/views/editor_field_html.xml +++ b/addons/mass_mailing/views/editor_field_html.xml @@ -12,6 +12,7 @@ <t t-call-assets="mass_mailing.assets_mail_themes"/> <script type="text/javascript" src="/mass_mailing/static/src/js/mass_mailing_editor.js"></script> </t> + <base target="_parent"/> </t> <t t-set="head" t-value="head_mm_field_text_html_inline + (head or '')"/> -- GitLab