From 6494f511718893eec3573c60c0a62e04d386359d Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Wed, 7 Feb 2018 14:11:46 +0100 Subject: [FIX] base/mail: Added an access_token on the attachments url The access_token is automatically added by the media editor. It's added on the website and by the html editor to send by email. The widget display the attachments from 'ir.ui.view' (public attachment) and the attachment from the current record. Issue: can't load image in gmail or mobile because the client mail use a proxy who avoid ours odoo access. --- addons/web_editor/static/src/xml/editor.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'addons/web_editor/static/src/xml/editor.xml') diff --git a/addons/web_editor/static/src/xml/editor.xml b/addons/web_editor/static/src/xml/editor.xml index e8e6374305e..8f975b0d784 100644 --- a/addons/web_editor/static/src/xml/editor.xml +++ b/addons/web_editor/static/src/xml/editor.xml @@ -86,6 +86,8 @@ target="fileframe" class="form-inline"> + +
@@ -145,8 +147,9 @@
- -
+ + +
-- cgit v1.2.3