From ee2f30fba2f9579ca0d5c4a805fa341d401067b8 Mon Sep 17 00:00:00 2001 From: Julien Mougenot Date: Thu, 17 Oct 2019 12:07:20 +0000 Subject: [PATCH] [FIX] account: render report tour steps Before this commit, the account_render_report tour assumed that account_accountant was installed on any enterprise database. Now, the account_accountant steps are only inserted in the tour when the module is installed. closes odoo/odoo#38963 X-original-commit: a45a4b6cc3249320969c8ba3324aad9e7c1aab67 Signed-off-by: Julien Mougenot (JUM) --- .../tests/tours/account_dashboard_setup_bar_tests.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/addons/account/static/tests/tours/account_dashboard_setup_bar_tests.js b/addons/account/static/tests/tours/account_dashboard_setup_bar_tests.js index 4043254aae9..faec6e7b949 100644 --- a/addons/account/static/tests/tours/account_dashboard_setup_bar_tests.js +++ b/addons/account/static/tests/tours/account_dashboard_setup_bar_tests.js @@ -11,16 +11,9 @@ odoo.define('account.dashboard.setup.tour', function (require) { url: '/web', }, [tour.STEPS.SHOW_APPS_MENU_ITEM, { + id: 'account_menu_click', trigger: '.o_app[data-menu-xmlid="account.menu_finance"]', position: 'bottom', - edition: 'community' - }, { - trigger: '.o_app[data-menu-xmlid="account_accountant.menu_accounting"]', - position: 'bottom', - edition: 'enterprise' - }, { - trigger: 'a:contains(' + _t("Customer Invoices") + ')', - edition: 'enterprise' }, { trigger: '.o_data_row:first', extra_trigger: '.breadcrumb',