Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
1373 Näkymät

I put odoo 16 file in different directory. 

The problem is even though my program is fine, I got problem message that said "Could not find model %s", "Could not find field %s in model %s"

How can I make vscode ignore this problem? Or maybe fix it?




Avatar
Hylkää
Paras vastaus

Hi dimas,

I assume that is a custom module, ensure your model depends at least of "base" on you manifest

"depends": ["base"],

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
elok. 21
3111
0
marrask. 23
1656
1
elok. 23
6638
1
heinäk. 23
639
2
heinäk. 22
4537