summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammed Shekha <msh@odoo.com>2021-01-21 07:07:48 +0000
committerMohammed Shekha <msh@odoo.com>2021-01-21 07:07:48 +0000
commitf6c05693f857acfb0f74bb76c4bd72f83d9fb335 (patch)
tree8ecda6691317098d1e8979aa1200f2b39c99bf7d
parent72f7acded30cd49c210faefbec195e7b6d13dacb (diff)
[FIX] *: various tour fixes
with this commit we fixes various tour steps, remove steps from crm and sale tour and improve step selector in project tour. task-2444272 closes odoo/odoo#64835 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
-rw-r--r--addons/crm/static/src/js/tours/crm.js5
-rw-r--r--addons/project/static/src/js/tours/project.js2
-rw-r--r--addons/sale/static/src/js/tours/sale.js5
3 files changed, 1 insertions, 11 deletions
diff --git a/addons/crm/static/src/js/tours/crm.js b/addons/crm/static/src/js/tours/crm.js
index b0e6c368649..50f14def114 100644
--- a/addons/crm/static/src/js/tours/crm.js
+++ b/addons/crm/static/src/js/tours/crm.js
@@ -37,11 +37,6 @@ tour.register('crm_tour', {
auto: true,
in_modal: false,
}, {
- trigger: '.o_kanban_quick_create .o_field_monetary[name="expected_revenue"] input',
- content: _t("Define here the Expected Revenue of this Opportunity."),
- position: 'right',
- run: "text 12.3",
-}, {
trigger: ".o_kanban_quick_create .o_kanban_add",
content: _t("Now, <b>add your Opportunity</b> to your Pipeline."),
position: "bottom",
diff --git a/addons/project/static/src/js/tours/project.js b/addons/project/static/src/js/tours/project.js
index 94983a258d1..fe70b002338 100644
--- a/addons/project/static/src/js/tours/project.js
+++ b/addons/project/static/src/js/tours/project.js
@@ -76,7 +76,7 @@ tour.register('project_tour', {
position: "bottom",
run: "drag_and_drop .o_kanban_group:eq(1) ",
}, {
- trigger: ".o_kanban_group:eq(1) > .o_kanban_record",
+ trigger: ".o_kanban_record:first",
extra_trigger: '.o_kanban_project_tasks',
content: _t("Let's start working on your task."),
position: "bottom",
diff --git a/addons/sale/static/src/js/tours/sale.js b/addons/sale/static/src/js/tours/sale.js
index 73f87ad740b..aee95ea9717 100644
--- a/addons/sale/static/src/js/tours/sale.js
+++ b/addons/sale/static/src/js/tours/sale.js
@@ -112,11 +112,6 @@ tour.register("sale_quote_tour", {
},
...tour.stepUtils.statusbarButtonsSteps("Send by Email", _t("<b>Send the quote</b> to yourself and check what the customer will receive."), ".o_statusbar_buttons button[name='action_quotation_send']"),
{
- trigger: ".modal-content div[name='partner_ids']",
- content: _t("Write <b>your own email address</b> here in order to test the flow."),
- run: "text agrolait@example.com"
- },
- {
trigger: ".modal-footer button.btn-primary",
auto: true,
}, {