diff options
| author | Mohammed Shekha <msh@odoo.com> | 2021-01-21 10:29:05 +0000 |
|---|---|---|
| committer | Mohammed Shekha <msh@odoo.com> | 2021-01-27 05:49:47 +0000 |
| commit | 437b5f946dd8aa8c20096a6b65b935bb8708d3b7 (patch) | |
| tree | 1864868820d863792282e34c6f95875f6b7adf97 /addons | |
| parent | 08978c6d2d14a94e6ee2fea0dedc805a56378de0 (diff) | |
[FIX] *: update tour sequence
with this commit we are updating sequence of onboarding tours
task-2444153
closes odoo/odoo#64846
Related: odoo/enterprise#15886
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons')
11 files changed, 14 insertions, 4 deletions
diff --git a/addons/account/static/src/js/tours/account.js b/addons/account/static/src/js/tours/account.js index 6b5ab2955fd..04ade6ceacb 100644 --- a/addons/account/static/src/js/tours/account.js +++ b/addons/account/static/src/js/tours/account.js @@ -8,6 +8,7 @@ var _t = core._t; tour.register('account_tour', { url: "/web", + sequence: 60, }, [ ...tour.stepUtils.goToAppSteps('account.menu_finance', _t('Send invoices to your customers in no time with the <b>Invoicing app</b>.')), { diff --git a/addons/crm/static/src/js/tours/crm.js b/addons/crm/static/src/js/tours/crm.js index 50f14def114..9b6c3fcf521 100644 --- a/addons/crm/static/src/js/tours/crm.js +++ b/addons/crm/static/src/js/tours/crm.js @@ -9,7 +9,7 @@ var _t = core._t; tour.register('crm_tour', { url: "/web", rainbowManMessage: _t("Congrats, best of luck catching such big fish! :)"), - sequence: 5, + sequence: 10, }, [tour.stepUtils.showAppsMenuItem(), { trigger: '.o_app[data-menu-xmlid="crm.crm_menu_root"]', content: _t('Ready to boost your sales? Let\'s have a look at your <b>Pipeline</b>.'), diff --git a/addons/event/static/src/js/tours/event_tour.js b/addons/event/static/src/js/tours/event_tour.js index caf403094e7..192d243d924 100644 --- a/addons/event/static/src/js/tours/event_tour.js +++ b/addons/event/static/src/js/tours/event_tour.js @@ -27,6 +27,7 @@ var EventAdditionalTourSteps = require('event.event_steps'); tour.register('event_tour', { url: '/web', rainbowManMessage: _t("Great! Now all you have to do is wait for your attendees to show up!"), + sequence: 210, }, [tour.stepUtils.showAppsMenuItem(), { trigger: '.o_app[data-menu-xmlid="event.event_main_menu"]', content: _t("Ready to <b>organize events</b> in a few minutes? Let's get started!"), diff --git a/addons/hr_recruitment/static/src/js/tours/hr_recruitment.js b/addons/hr_recruitment/static/src/js/tours/hr_recruitment.js index 92cc7f8ddd6..368b97757d4 100644 --- a/addons/hr_recruitment/static/src/js/tours/hr_recruitment.js +++ b/addons/hr_recruitment/static/src/js/tours/hr_recruitment.js @@ -9,6 +9,7 @@ var _t = core._t; tour.register('hr_recruitment_tour',{ url: "/web", rainbowManMessage: _t("<div>Great job! You hired a new colleague!</div><div>Try the Website app to publish job offers online.</div>"), + sequence: 230, }, [tour.stepUtils.showAppsMenuItem(), { trigger: '.o_app[data-menu-xmlid="hr_recruitment.menu_hr_recruitment_root"]', content: _t("Let's have a look at how to <b>improve</b> your <b>hiring process</b>."), diff --git a/addons/mail/static/src/js/tours/mail.js b/addons/mail/static/src/js/tours/mail.js index 552df7ea0d5..8870abc6416 100644 --- a/addons/mail/static/src/js/tours/mail.js +++ b/addons/mail/static/src/js/tours/mail.js @@ -8,6 +8,7 @@ var _t = core._t; tour.register('mail_tour', { url: "/web#action=mail.widgets.discuss", + sequence: 80, }, [{ trigger: '.o_DiscussSidebar_groupChannel .o_DiscussSidebar_groupHeaderItemAdd', content: _t("<p>Channels make it easy to organize information across different topics and groups.</p> <p>Try to <b>create your first channel</b> (e.g. sales, marketing, product XYZ, after work party, etc).</p>"), diff --git a/addons/mass_mailing/static/src/js/tours/mass_mailing_tour.js b/addons/mass_mailing/static/src/js/tours/mass_mailing_tour.js index 82d875e6839..0004e50ee91 100644 --- a/addons/mass_mailing/static/src/js/tours/mass_mailing_tour.js +++ b/addons/mass_mailing/static/src/js/tours/mass_mailing_tour.js @@ -9,6 +9,7 @@ odoo.define('mass_mailing.mass_mailing_tour', function (require) { tour.register('mass_mailing_tour', { url: '/web', rainbowManMessage: _t('Congratulations, I love your first mailing. :)'), + sequence: 200, }, [tour.stepUtils.showAppsMenuItem(), { trigger: '.o_app[data-menu-xmlid="mass_mailing.mass_mailing_menu_root"]', content: _t("Let's try the Email Marketing app."), diff --git a/addons/point_of_sale/static/src/js/tours/point_of_sale.js b/addons/point_of_sale/static/src/js/tours/point_of_sale.js index 2cd2bf31339..49a6fc0ac3e 100644 --- a/addons/point_of_sale/static/src/js/tours/point_of_sale.js +++ b/addons/point_of_sale/static/src/js/tours/point_of_sale.js @@ -9,6 +9,7 @@ var _t = core._t; tour.register('point_of_sale_tour', { url: "/web", rainbowMan: false, + sequence: 45, }, [tour.stepUtils.showAppsMenuItem(), { trigger: '.o_app[data-menu-xmlid="point_of_sale.menu_point_root"]', content: _t("Ready to launch your <b>point of sale</b>?"), diff --git a/addons/project/static/src/js/tours/project.js b/addons/project/static/src/js/tours/project.js index fe70b002338..df8ef5d7123 100644 --- a/addons/project/static/src/js/tours/project.js +++ b/addons/project/static/src/js/tours/project.js @@ -7,7 +7,7 @@ var tour = require('web_tour.tour'); var _t = core._t; tour.register('project_tour', { - sequence: 30, + sequence: 110, url: "/web", rainbowManMessage: "Congratulations, you are now a master of project management.", }, [tour.stepUtils.showAppsMenuItem(), { diff --git a/addons/purchase/static/src/js/tours/purchase.js b/addons/purchase/static/src/js/tours/purchase.js index 3487b7c91c0..b9e875f2a26 100644 --- a/addons/purchase/static/src/js/tours/purchase.js +++ b/addons/purchase/static/src/js/tours/purchase.js @@ -30,7 +30,8 @@ var _t = core._t; var PurchaseAdditionalTourSteps = require('purchase.purchase_steps'); tour.register('purchase_tour' , { - url: "/web" + url: "/web", + sequence: 40, }, [tour.stepUtils.showAppsMenuItem(), { trigger: '.o_app[data-menu-xmlid="purchase.menu_purchase_root"]', content: _t("Let's try the Purchase app to manage the flow from purchase to reception and invoice control."), diff --git a/addons/sale/static/src/js/tours/sale.js b/addons/sale/static/src/js/tours/sale.js index aee95ea9717..3afe2a7304d 100644 --- a/addons/sale/static/src/js/tours/sale.js +++ b/addons/sale/static/src/js/tours/sale.js @@ -9,6 +9,7 @@ var _t = core._t; tour.register("sale_tour", { url: "/web", rainbowMan: false, + sequence: 20, }, [tour.stepUtils.showAppsMenuItem(), { trigger: ".o_app[data-menu-xmlid='sale.sale_menu_root']", content: _t("Open Sales app to send your first quotation in a few clicks."), @@ -58,7 +59,8 @@ tour.register("sale_tour", { tour.register("sale_quote_tour", { url: "/web#action=sale.action_quotations_with_onboarding&view_type=form", rainbowMan: true, - rainbowManMessage: "<b>Congratulations</b>, your first quotation is sent!<br>Check your email to validate the quote." + rainbowManMessage: "<b>Congratulations</b>, your first quotation is sent!<br>Check your email to validate the quote.", + sequence: 30, }, [{ trigger: ".o_form_editable .o_field_many2one[name='partner_id']", extra_trigger: ".o_sale_order", diff --git a/addons/website_sale/static/src/js/tours/website_sale_shop_frontend.js b/addons/website_sale/static/src/js/tours/website_sale_shop_frontend.js index b131965117f..afefddef778 100644 --- a/addons/website_sale/static/src/js/tours/website_sale_shop_frontend.js +++ b/addons/website_sale/static/src/js/tours/website_sale_shop_frontend.js @@ -5,6 +5,7 @@ var tour = require("web_tour.tour"); var steps = require("website_sale.tour_shop"); tour.register("shop", { url: "/shop", + sequence: 130, }, steps); }); |
