[FIX] sale: test depend of another module

It may crash when we install only the sale module
This commit is contained in:
Christophe Matthieu
2017-04-11 19:44:38 +02:00
committed by Aaron Bohy
parent f0cfe7c174
commit 513dca4726
+3 -1
View File
@@ -50,7 +50,9 @@ tour.register('sale_tour', {
in_modal: false,
run: function (actions) {
actions.auto();
actions.auto(".modal-footer .btn-primary");
if ($(".modal-footer .btn-primary").length) {
actions.auto(".modal-footer .btn-primary");
}
},
id: "quotation_product_selected",
}, {