forked from Mapan/odoo17e
20 lines
671 B
JavaScript
20 lines
671 B
JavaScript
/** @odoo-module */
|
|
|
|
import { registry } from "@web/core/registry";
|
|
import { patch } from "@web/core/utils/patch";
|
|
import "@account/../tests/tours/tax_group_tests";
|
|
|
|
patch(registry.category("web_tour.tours").get("account_tax_group"), {
|
|
steps() {
|
|
const originalSteps = super.steps();
|
|
const accountMenuClickIndex = originalSteps.findIndex((step) => step.id === 'account_menu_click');
|
|
originalSteps.splice(accountMenuClickIndex, 1,
|
|
{
|
|
trigger: '.o_app[data-menu-xmlid="account_accountant.menu_accounting"]',
|
|
content: "Go to Accounting",
|
|
}
|
|
);
|
|
return originalSteps;
|
|
}
|
|
});
|