From efe897f6ab6e7d4a1523c8dcbfb9f4d0b03b4a21 Mon Sep 17 00:00:00 2001 From: Jeremy Kersten Date: Wed, 28 Jul 2021 13:34:00 +0000 Subject: [PATCH] [FIX] website_sale: fix tour when redirect to backend is too slow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We increase the time (if we can call this a fix) while the switch from frontend to backend become faster. It seems to be a problem of (useless?) regeneration of assets + a slow refactoring of scss in backend which use extend that is slow... closes odoo/odoo#74477 Signed-off-by: Jérémy Kersten (jke) --- addons/website_sale/static/src/js/tours/website_sale_shop.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/website_sale/static/src/js/tours/website_sale_shop.js b/addons/website_sale/static/src/js/tours/website_sale_shop.js index 5950133c7cb..266054c859e 100644 --- a/addons/website_sale/static/src/js/tours/website_sale_shop.js +++ b/addons/website_sale/static/src/js/tours/website_sale_shop.js @@ -71,5 +71,6 @@ odoo.define("website_sale.tour_shop", function (require) { content: _t("Open your website app here."), extra_trigger: ".o_apps,#oe_applications", position: "bottom", + timeout: 30000, // ~ 10 secondes to be redirected, due to slow assets generation }]; });