[FIX] web: orm: protect webSearchRead
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 "webSearchRead" was not protected due to a "typo". closes odoo/odoo#125688 X-original-commit: 2899888a2449b42b2c5d37846fc9411da6f7f9cc Signed-off-by: Géry Debongnie <ged@odoo.com>
This commit is contained in:
@@ -304,7 +304,7 @@ export const ormService = {
|
||||
"search",
|
||||
"searchRead",
|
||||
"unlink",
|
||||
"web_search_read",
|
||||
"webSearchRead",
|
||||
"write",
|
||||
],
|
||||
start(env, { rpc, user }) {
|
||||
|
||||
Reference in New Issue
Block a user