Ir al contenido
Menú
Se marcó esta pregunta

Hi ,
while importing the records through excel file,it showing the below error.resource_id is not showing in the hr.employee model,but while exporting the records,it showing the error.if, we have many2one field, should we pass the id of the record or name in the excel file?
 
error like,insert or update on table "hr.employee"violates foreign key constraints "hr_employee_resource_id_fkey" detail key (resource_id) is not present in table "resource_resource" at row 2.like it is showing for all the records in the excel file while importing. 

Avatar
Descartar
Mejor respuesta

The module named "VKS Import Excel" can help you solve this problem easily: https://apps.odoo.com/apps/modules/16.0/vks_import_excel.

Please contact me via email anhtuan.acoi@gmail.com if you need further assistance.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
nov 24
1610
1
nov 24
2028
5
nov 23
2939
1
oct 23
2769
3
dic 23
20637