[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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user