This commit is contained in:
2026-11-08 17:43:44 +08:00
parent 974a1fb10b
commit 3b5af1e3a6
483 changed files with 590466 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -0,0 +1 @@
<svg width="50" height="50" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><path d="M40.682 41.263c-3.514 4.188-9.758 4.734-13.946 1.22-4.189-3.514-4.735-9.758-1.22-13.947 3.514-4.188 9.758-4.734 13.946-1.22 4.188 3.515 4.734 9.759 1.22 13.947Z" fill="#1AD3BB"/><path d="M25.383 21.464c-3.514 4.188-9.758 4.734-13.946 1.22-4.188-3.514-4.735-9.758-1.22-13.946 3.514-4.189 9.758-4.735 13.946-1.22 4.188 3.514 4.734 9.758 1.22 13.946Z" fill="#FBB945"/><path d="M37.09 6.545c1.407-1.406 3.36-1.732 4.364-.728L46 10.363l-33.09 33.09c-1.407 1.406-3.36 1.732-4.365.728L4 39.636 37.09 6.544Z" fill="#985184"/><path d="m31.174 25.188-7.79 7.789a9.853 9.853 0 0 1 2.13-4.442 9.858 9.858 0 0 1 5.66-3.348Z" fill="#005E7A"/><path d="M18.676 24.962a9.868 9.868 0 0 0 6.707-3.498 9.854 9.854 0 0 0 2.278-5.487l-8.985 8.985Z" fill="#953B24"/></svg>

After

Width:  |  Height:  |  Size: 842 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -0,0 +1,14 @@
/** @odoo-module **/
import { _t } from "@web/core/l10n/translation";
import { patch } from "@web/core/utils/patch";
import { accountTourSteps } from "@account/js/tours/account";
import { stepUtils } from "@web_tour/tour_utils";
patch(accountTourSteps, {
goToAccountMenu(description="Open Accounting Menu") {
description = _t("Let’s automate your bills, bank transactions and accounting processes.");
return stepUtils.goToAppSteps('accountant.menu_accounting', description);
},
});

View File

@@ -0,0 +1,59 @@
import { accountTourSteps } from "@account/js/tours/account";
import { registry } from "@web/core/registry";
registry.category("web_tour.tours").add("account_merge_wizard_tour", {
steps: () => [
...accountTourSteps.goToAccountMenu("Go to Accounting"),
{
content: "Go to Configuration",
trigger: 'span:contains("Configuration")',
run: "click",
},
{
content: "Go to Chart of Accounts",
trigger: 'a:contains("Chart of Accounts")',
run: "click",
},
{
trigger: '.o_breadcrumb .text-truncate:contains("Chart of Accounts")',
},
{
content: "Select accounts",
trigger: "thead .o_list_record_selector",
run: "click",
},
{
content: "Check that exactly 4 accounts are present and selected",
trigger: ".o_selection_box:contains(4):contains(selected)",
},
{
content: "Open Actions menu",
trigger: ".o_cp_action_menus .dropdown-toggle",
run: "click",
},
{
content: "Open Merge accounts wizard",
trigger: 'span:contains("Merge accounts")',
run: "click",
},
{
content: "Group by name",
trigger: 'div[name="is_group_by_name"] input',
run: "click",
},
{
content: "Wait for content to be updated",
trigger: 'td:contains("Current Assets (Current Assets)")',
},
{
content: "Merge accounts",
trigger: 'button:not([disabled]) span:contains("Merge")',
run: "click",
},
{
content: "Check that there are now exactly 2 accounts",
trigger: ".o_pager_limit:contains(2)",
timeout: 20000,
},
],
});

View File

@@ -0,0 +1,22 @@
import { patch } from "@web/core/utils/patch";
import { accountTourSteps } from "@account/js/tours/account";
import { stepUtils } from "@web_tour/tour_utils";
import { _t } from "@web/core/l10n/translation";
patch(accountTourSteps, {
goToAccountMenu(description="Open Accounting Menu") {
return stepUtils.goToAppSteps('accountant.menu_accounting', description);
},
newInvoice() {
return [
{
trigger: ".o_widget_account_onboarding [data-icon='circle'].oi-filled",
},
{
trigger: "button[name=action_create_new]",
content: _t("Now, we'll create your first invoice (accountant)"),
run: "click",
},
];
},
});