[FIX] sale: test depend of another module
It may crash when we install only the sale module
This commit is contained in:
committed by
Aaron Bohy
parent
f0cfe7c174
commit
513dca4726
@@ -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",
|
||||
}, {
|
||||
|
||||
Reference in New Issue
Block a user