[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'.
This commit is contained in:
Aaron Bohy
2017-04-11 19:44:38 +02:00
parent c1256d1453
commit 2b61c108dd
+1 -1
View File
@@ -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 <b>go back to preceeding screens</b>."),
position: "bottom"
}, {