Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
2719 มุมมอง

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..

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ส.ค. 24
1209
1
มิ.ย. 24
1662
0
ก.ค. 24
2427
4
ส.ค. 25
2278
Import gift cards? แก้ไขแล้ว
3
ก.ย. 24
1654