error isException: Module loading tailor_management_sys failed: file tailor_management_sys\security/ir.model.access.csv could not be processed: No matching record found for external id 'model_tar_production' in field 'Model' Missing required value for the field 'Model' (model_id)
i have double checked the __init__ and __manifest__ file for any typo error or
sequence but all was good and i also have checked that start log that if maybe there
appear any error or warning after restarting the server but there also
found nothing to be wrong so i have g through many documentation i have
edited the csv file by text editor too but also does not work.
csv file is
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_tailor_tailor,tailor_tailor,model_tailor_tailor,base.group_user,1,1,1,1
access_tailor_task,tailor_task,model_tailor_task,base.group_user,1,1,1,1
access_tar_production,tar_production,model_tar_production,base.group_user,1,1,1,1
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
Hi,
This error is raised as it cannot find a model named tar_production in your module: tailor_management_sys
If the model is defined in a different module, you have to give full external id of the model, suppose if this model is defined or added from a module named module_abc, then the full external id will be module_abc.model_tar_production
Also you can ensure these points:
* file has been imported in init
* service has been restarted
Thanks
i have imported it in __init__ and also restarted the server but nothing is working so, i have made some changes in fields of model .py file and also in xml but those changes also not reflecting after server restarting it start throwing error that these fields are not present in model i think there is something wrong with the module .py file these are not loading nor updating.
i believe the restarting is not successfull, you can ensure it by stop the service and see if odoo is still accessible or not
when i stop the server odoo is still accessible.
so that means, the service is not stopped yet, you can forecefully kill using sudo kill -9 PROCESS_ID by listing the running process by ps aux||grep command .
if you are finding hard to do the above, just restart the machine, if it is in local
thanks for helping after restarting my pc its start working.
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
2
Mei 24
|
2469 | ||
|
2
Mei 24
|
2356 | ||
|
1
Apr 23
|
2964 | ||
|
0
Feb 22
|
104 | ||
Odoo 15 Accounting server error
Diselesaikan
|
|
2
Mar 22
|
5171 |