Skip to content
Permalink
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

Current behavior:
the tour finishes properly

opw-2187218
  • Loading branch information
jhk-odoo committed Feb 10, 2020
1 parent 009e552 commit 7722d42574401367d508c54256393656f4a50439
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-item-menu a:contains("DESK0001")'
}, {
trigger: '.o_form_editable textarea[name="name"].product_creation_success',
run: function () {} // wait for product creation

0 comments on commit 7722d42

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