From 153d698fd21e78c4ff08ad327d00ca1d6c32cef5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Thu, 1 Sep 2016 14:47:33 +0200 Subject: [PATCH] [IMP] crm: add extra steps to the tour to redirect the user to the planner --- addons/crm/static/src/js/tour.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/addons/crm/static/src/js/tour.js b/addons/crm/static/src/js/tour.js index 1da4843ed95..0e24c90f953 100644 --- a/addons/crm/static/src/js/tour.js +++ b/addons/crm/static/src/js/tour.js @@ -74,6 +74,15 @@ tour.STEPS.MENU_MORE, { trigger: ".o_web_settings_dashboard textarea#user_emails", content: _t("Invite coworkers via email.
Enter one email per line."), position: "right" +}, tour.STEPS.TOGGLE_APPSWITCHER, +tour.STEPS.MENU_MORE, { + trigger: '.o_app[data-menu-xmlid="sales_team.menu_base_partner"], .oe_menu_toggler[data-menu-xmlid="sales_team.menu_base_partner"]', + content: _t("Good job! Your completed the tour of the CRM. You can continue with the implementation guide to help you setup the CRM in your company."), + position: 'bottom', +}, { + trigger: '.o_planner_systray div.progress', + content: _t("Use the implementation guide to setup the CRM in your company."), + position: 'bottom', }]); });