تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1975 أدوات العرض

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أغسطس 25
1091
0
يناير 25
1549
1
نوفمبر 24
3055
0
نوفمبر 24
3248
0
سبتمبر 25
2249