[FIX] sale: sale_tour selector fix
Steps to reproduce: - install sales - go into debug mode - dev tools > start tour > sale_tour Previous behavior: tour would fail to see that the product has been selected and time out if you do it multiple time Current behavior: the tour finishes properly (even if it runs multiple times) opw-2187218 closes odoo/odoo#45461 X-original-commit: e7a78fd76e48fbaa895d786f699d22b2278c9301 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
This commit is contained in:
@@ -58,7 +58,7 @@ tour.register('sale_tour', {
|
||||
},
|
||||
id: 'product_selection_step'
|
||||
}, {
|
||||
trigger: '.o_m2o_dropdown_option a:contains("DESK0001")'
|
||||
trigger: '.ui-menu.ui-widget .ui-menu-item a:contains("DESK0001")'
|
||||
}, {
|
||||
trigger: '.o_form_editable textarea[name="name"].product_creation_success',
|
||||
run: function () {} // wait for product creation
|
||||
|
||||
Reference in New Issue
Block a user