跳至內容
選單
此問題已被標幟
1 回覆
1108 瀏覽次數

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?




頭像
捨棄
最佳答案

Hi dimas,

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

"depends": ["base"],

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
8月 21
2740
0
11月 23
1287
1
8月 23
5908
1
7月 23
638
2
7月 22
3965