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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
1720
Vistas
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.
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
2
nov 24
|
1610 | ||
|
1
nov 24
|
2028 | ||
|
5
nov 23
|
2939 | ||
|
1
oct 23
|
2769 | ||
|
3
dic 23
|
20637 |