Skip to content
Browse files

[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)

  • Loading branch information
jhk-odoo committed Feb 10, 2020
1 parent 009e552 commit 9d88ffdcc06e9d42ab20a5341707e05ae1d2d8ff
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/sale/static/src/js/tours/sale.js
@@ -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

0 comments on commit 9d88ffd

Please sign in to comment.
You can’t perform that action at this time.