[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) <Arcasias@users.noreply.github.com>
This commit is contained in:
Julien Mougenot
2019-10-17 14:52:23 +00:00
committed by fw-bot
parent 1802a1cbc4
commit ee2f30fba2
@@ -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',