[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:
@@ -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 () {},
|
||||
}
|
||||
]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user