Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
717 Lượt xem

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?




Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi dimas,

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

"depends": ["base"],

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 8 21
2225
0
thg 11 23
906
1
thg 8 23
5094
1
thg 7 23
637
2
thg 7 22
3306