Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1089 Visualizzazioni

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
Abbandona
Risposta migliore

Hi dimas,

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

"depends": ["base"],

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
ago 21
2720
0
nov 23
1278
1
ago 23
5895
1
lug 23
638
2
lug 22
3937