From dc0a2819caaeabc7470950fa2d9e3e4e88291a1e Mon Sep 17 00:00:00 2001 From: Antonio Espinosa Date: Tue, 27 Sep 2016 10:47:23 +0200 Subject: [PATCH] [FIX] Avoid JS error when no tracking info (#92) --- mail_tracking/__openerp__.py | 2 +- mail_tracking/static/src/js/mail_tracking.js | 1 - mail_tracking/static/src/xml/mail_tracking.xml | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/mail_tracking/__openerp__.py b/mail_tracking/__openerp__.py index fe23e6af..36cf73ee 100644 --- a/mail_tracking/__openerp__.py +++ b/mail_tracking/__openerp__.py @@ -5,7 +5,7 @@ { "name": "Email tracking", "summary": "Email tracking system for all mails sent", - "version": "8.0.2.0.1", + "version": "8.0.2.0.2", "category": "Social Network", "website": "http://www.tecnativa.com", "author": "Tecnativa, " diff --git a/mail_tracking/static/src/js/mail_tracking.js b/mail_tracking/static/src/js/mail_tracking.js index 505ce5d8..21225173 100644 --- a/mail_tracking/static/src/js/mail_tracking.js +++ b/mail_tracking/static/src/js/mail_tracking.js @@ -30,7 +30,6 @@ 'title': _t("Message tracking"), }; instance.webclient.action_manager.do_push_state(state); - console.log('tracking_email_id = ' + tracking_email_id); var action = { type:'ir.actions.act_window', view_type: 'form', diff --git a/mail_tracking/static/src/xml/mail_tracking.xml b/mail_tracking/static/src/xml/mail_tracking.xml index 3d37216c..db534ee6 100644 --- a/mail_tracking/static/src/xml/mail_tracking.xml +++ b/mail_tracking/static/src/xml/mail_tracking.xml @@ -42,7 +42,7 @@ - +