[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#125683 X-original-commit: c2b9f14fa9fbf67063b8885b698ea17a63d79454 Signed-off-by: Géry Debongnie <ged@odoo.com> Signed-off-by: Mathieu Duckerts-Antoine <dam@odoo.com>
This commit is contained in:
@@ -298,7 +298,7 @@ export const ormService = {
|
||||
async: [
|
||||
"call",
|
||||
"create",
|
||||
"name_get",
|
||||
"nameGet",
|
||||
"read",
|
||||
"readGroup",
|
||||
"search",
|
||||
|
||||
Reference in New Issue
Block a user