summaryrefslogtreecommitdiff
path: root/odoo/addons/test_main_flows/static/src/js/tour.js
diff options
context:
space:
mode:
Diffstat (limited to 'odoo/addons/test_main_flows/static/src/js/tour.js')
-rw-r--r--odoo/addons/test_main_flows/static/src/js/tour.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/odoo/addons/test_main_flows/static/src/js/tour.js b/odoo/addons/test_main_flows/static/src/js/tour.js
index d39738cd1e6..b41ee36cdf8 100644
--- a/odoo/addons/test_main_flows/static/src/js/tour.js
+++ b/odoo/addons/test_main_flows/static/src/js/tour.js
@@ -211,7 +211,6 @@ tour.register('main_flow_tour', {
position: 'bottom',
}, {
trigger: ".breadcrumb-item:first",
- extra_trigger: ".o_form_readonly", // FIXME: this is required due to an issue in tour_manager (see [*])
content: _t("Use the breadcrumbs to <b>go back to products</b>."),
position: "bottom"
}, {
@@ -535,12 +534,10 @@ tour.register('main_flow_tour', {
trigger: ".o_menu_sections a[data-menu-xmlid='mrp.menu_mrp_manufacturing']",
content: _t('Click on Operations menuitem'),
position: 'bottom',
- edition: 'enterprise',
}, {
trigger: ".o_menu_sections a[data-menu-xmlid='mrp.menu_mrp_production_action']",
content: _t('Open manufacturing orders'),
position: 'bottom',
- edition: 'enterprise',
}, {
trigger: '.o_data_row:has(.o_data_cell:contains("the_flow.product")):first',
content: _t('Select the generated manufacturing order'),
@@ -748,7 +745,6 @@ tour.register('main_flow_tour', {
}, {
edition: "enterprise",
trigger: ".o_selected_row .o_field_widget[name=name]",
- extra_trigger: ".o_selected_row .o_field_widget[name=partner_id] .o_external_button", // FIXME: this is required due to an issue in tour_manager (see [*])
content: _t('Let\'s enter a name.'),
position: "bottom",
run: "text the_flow.statement.line",
@@ -774,16 +770,3 @@ tour.register('main_flow_tour', {
position: "bottom",
}]);
});
-
-/*
- * [*] FIXME: issue in tour_manager:
- * The JQuery element of a step is registered as soon as its trigger and
- * extra_trigger elements are visible in the DOM, but it's action is delayed
- * to handle the 'running_step_delay' option (0 by default, but even with 0,
- * the action is executed after finishing the current execution block, which
- * may produce a re-rendering of the part of the DOM containing the element).
- * When this happens, the action is executed on an jquery element not present
- * in the DOM anymore.
- * To avoid this, we add an 'extra_trigger' to wait for the updated jquery
- * element before activating the step (and thus registering the JQuery element).
- */