Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
2552 Представления

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
1121
1
июн. 24
1373
0
июл. 24
2257
2
нояб. 24
1757
3
сент. 24
1572