[FIX] website_sale: remove click from tour when checking button

This step was meant to be "check" but did "click" instead because no empty
function was provided.

This caused a nondeterministic issues where an unwanted RPC generated a warning.
Indeed by clicking "add to cart" when checking if the button is disabled, that
called `create_product_variant` on non-dynamic product.

PR: #29675
task-1920036
This commit is contained in:
Sébastien Theys
2018-12-26 11:12:16 +00:00
parent f1c196e609
commit 20478ff12e
@@ -46,6 +46,7 @@ tour.register('tour_shop_deleted_archived_variants', {
{
content: "check add to cart not possible",
trigger: '#add_to_cart.disabled',
run: function () {},
}
]);
});