From 1f848bf9d1484d37e70dd4ade2f54512bf4a5ed7 Mon Sep 17 00:00:00 2001 From: Cedric Snauwaert Date: Wed, 22 Aug 2018 16:08:46 +0200 Subject: [PATCH] [FIX] account: reconciliation tour the tour was directly stepping to step2 without waiting for 10s due to empty run function. This was resulting in some random in the build depending on the speed needed to display the widget. --- .../static/src/js/reconciliation/tour_reconciliation.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/addons/account/static/src/js/reconciliation/tour_reconciliation.js b/addons/account/static/src/js/reconciliation/tour_reconciliation.js index 3da88d2c7ea..c4ea807bab2 100644 --- a/addons/account/static/src/js/reconciliation/tour_reconciliation.js +++ b/addons/account/static/src/js/reconciliation/tour_reconciliation.js @@ -27,20 +27,14 @@ Tour.register('bank_statement_reconciliation', { throw new Error("'account.bank.statement' named 'BNK/2014/001' not found"); }); }, - timeout: 5000 }, - { - content: "wait reconciliation page", - trigger: '.o_reconciliation', - run: function () {}, - }, - // Reconciliation of 'SAJ/2018/002' // Select the 'INV/2018/0002' line and click on reconcile. { content: "open the last line in match mode to test the reconcile button", trigger: '.toggle_match:last', + extra_trigger: '.o_reconciliation', }, { content: "select the 'INV/2018/0002' line",