Skip to content
Snippets Groups Projects
Commit c2b9f14f authored by Mathieu Duckerts-Antoine's avatar Mathieu Duckerts-Antoine
Browse files

[FIX] web: orm: protect nameGet


The values for the key "async" found in some services is used to declare
async methods that should be "protected". The hook "useService" makes sure
that no code used to process results of those protected methods is
executed by a destroyed component. The orm method "nameGet" was
not protected due to a "typo".

closes odoo/odoo#125627

Signed-off-by: default avatarGéry Debongnie <ged@odoo.com>
parent 7c56a518
Branches
Tags
No related merge requests found
......@@ -211,7 +211,7 @@ export const ormService = {
async: [
"call",
"create",
"name_get",
"nameGet",
"read",
"readGroup",
"search",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment