Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
808 Prikazi

helloy, i have odoo v18 community version and wanted to install an additional app but I always get this error:


Ungültiger Vorgang

Fehler beim Importieren des Moduls 'label_zebra_printer'. Module loading label_zebra_printer failed: file C:\Windows\SERVIC~1\LOCALS~1\AppData\Local\Temp\tmpt1qjpqwn\label_zebra_printer\security/ir.model.access.csv could not be processed: Kein passender Datensatz für externe ID „model_label_printer“ in Feld „Model“ gefunden Missing required value for the field 'Model' (model_id)


Does anyone know what I have to do? Unfortunately I'm still new and don't know much about it yet. 

Thanks in advance

Avatar
Opusti
Best Answer

Hi,

This error usually occurs when we try to add security to a model that doesn't exist. Please ensure that the model is loaded. You can check in technical-> models and see if your model is present there before adding the security.

Check the init files and see if the files are properly added.


Hope it helps

Avatar
Opusti
Best Answer

To resolve this, you could try these steps:

  1. Check the ir.model.access.csv file to ensure that the external ID 'model_label_printer' correctly references the intended model. The external ID should follow the format 'module_name.model_modelname'. For example, if the model is defined in the 'label_zebra_printer' module and the model's name is 'label.printer', the external ID should be 'label_zebra_printer.model_label_printer'.

  2. Check if you have all the module dependencies installed. The label printer module likely depends on other modules that need to be installed first.

  3. Try installing the module through the following sequence: Go to Apps - Remove the "Apps" filter from the search - Update the apps list (Developer mode may be needed) - Search for the module again.



Regards,
--
NIZAMUDHEEN MJ
Accurates


Avatar
Opusti