From 2b61c108ddc0bb3586616cc090cd76acc42aac1c Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Wed, 1 Mar 2017 13:35:21 +0100 Subject: [PATCH] [FIX] sale: adapt tour to new views Community and enterprise now share the same codebase for the statusbar, so the additional selector can be removed. Moreover, the value of each button in the statusbar is now encoded in 'data-value' instead of 'data-id'. --- addons/sale/static/src/js/tour.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sale/static/src/js/tour.js b/addons/sale/static/src/js/tour.js index 74ea6820884..241014c74ce 100644 --- a/addons/sale/static/src/js/tour.js +++ b/addons/sale/static/src/js/tour.js @@ -67,7 +67,7 @@ tour.register('sale_tour', { position: "bottom" }, { trigger: ".breadcrumb li:not(.active):last", - extra_trigger: ".o_sale_order [data-id='sent'].btn-primary, .o_sale_order [data-id='sent'].oe_active", + extra_trigger: ".o_sale_order [data-value='sent'].btn-primary", content: _t("Use the breadcrumbs to go back to preceeding screens."), position: "bottom" }, {