19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:30:07 +01:00
parent ba20ce7443
commit 768b70e05e
2357 changed files with 1057103 additions and 712486 deletions

View file

@ -1,5 +1,3 @@
/** @odoo-module */
import { registry } from "@web/core/registry";
registry
@ -10,10 +8,11 @@ registry
.add("account.account/get_account_group", function (route, args, performRPC) {
const accountTypes = args.args[0];
const data = accountTypes.map((accountType) => {
const records = this.mockSearchRead("account.account", [
[["account_type", "=", accountType]],
["code"],
], {});
const records = this.mockSearchRead(
"account.account",
[[["account_type", "=", accountType]], ["code"]],
{}
);
return records.map((record) => record.code);
});
return data;