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

v17.  Importing third-party app, getting error  Missing required value for the field 'Model' (model_id).  I've tried a few apps and have received this error on everything.  Makes me think I'm missing a configuration setting.  I've seen a few open forum questions on this but nothing seems to be working.  Any guidance here? 

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

This error often happens when you're trying to set up security for a model that doesn't exist. First, make sure the model is loaded. You can check this in the Settings->Technical-> Models. Also, ensure that you've added the model's file name in the __init__.py file inside the models folder. Similarly, make sure the models folder is added in the main __init__.py file. Double-check these files to ensure everything is properly included.


Hope it helps

الصورة الرمزية
إهمال
أفضل إجابة

Check the security file ir.model.access.csv file.. It has some problems... Either cross check with model names.. model_xyz_model -- this is required field to enter..

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أغسطس 24
1242
1
يونيو 24
1689
0
يوليو 24
2458
4
أغسطس 25
2321
Import gift cards? تم الحل
3
سبتمبر 24
1686