From ecc028c0e8dee8f1c85e750d625061e66a691d4e Mon Sep 17 00:00:00 2001 From: Romeo Fragomeli Date: Wed, 30 Oct 2019 09:11:52 +0000 Subject: [IMP] mail: use _notify_get_action_link and not inline string MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note that this also add data-oe-model and data-oe-id in XML. This allow us to avoid to load these links as external URL when a user receive it in inbox instead of external mail client. See file addons/mail/static/src/js/thread_widget.js -> _onClickRedirect Task ID: 1895451 closes odoo/odoo#39958 Related: odoo/enterprise#6414 Signed-off-by: Adrien Dieudonné (adr) --- addons/mail/data/mail_data.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'addons/mail/data/mail_data.xml') diff --git a/addons/mail/data/mail_data.xml b/addons/mail/data/mail_data.xml index f024c60b207..a83cafbbc8d 100644 --- a/addons/mail/data/mail_data.xml +++ b/addons/mail/data/mail_data.xml @@ -308,7 +308,7 @@ You have been assigned to the .

- + View

@@ -341,7 +341,7 @@ on to close for .

- View -- cgit v1.2.3