Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
2622 Widoki

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? 

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sie 24
1162
1
cze 24
1427
0
lip 24
2328
4
sie 25
1896
3
wrz 24
1600