summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2017-10-02 17:24:21 +0200
committerLucas Perais (lpe) <lpe@odoo.com>2017-10-03 09:12:54 +0200
commitc22b407f4b627861d8007d5e831e963532268e66 (patch)
tree03193199798884d030937ba7190f28f45ec9d2d8 /addons
parentf2c2e999ef7e3431db9a20d8972af6324cb5e1ce (diff)
[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
Diffstat (limited to 'addons')
-rw-r--r--addons/mass_mailing/views/editor_field_html.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/mass_mailing/views/editor_field_html.xml b/addons/mass_mailing/views/editor_field_html.xml
index 611a54e05ea..a89a2d76410 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 '')"/>