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

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
أغسطس 21
2725
0
نوفمبر 23
1278
1
أغسطس 23
5898
1
يوليو 23
638
2
يوليو 22
3939