Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
2494 Näkymät

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? 

Avatar
Hylkää
Paras vastaus

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

Avatar
Hylkää
Paras vastaus

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

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
elok. 24
1085
1
kesäk. 24
1316
0
heinäk. 24
2129
2
marrask. 24
1701
3
syysk. 24
1554