Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată

Hello, for a few days I am trying to enable the autocomplete, for example, of the Owl things on Javascript. Searching on the documentation, I active ESlint using the enable.sh and later use the odoo CLI parameter called tsconfig, I put on the workspace root but only can found the modules that starts with '@', for example the web.rpc can't find it, the owl.Component equal.

const {useState} = owl;
import AbstractFieldOwl from"web.AbstractFieldOwl";
import fieldRegistry from'web.field_registry_owl';
import{ useService }from"@web/core/utils/hooks";
import rpc from"web.rpc";

Of that code, only works the import of userService.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
aug. 25
454
0
ian. 25
1102
1
nov. 24
2109
0
nov. 24
2235
0
iul. 24
1746