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
- Financeiro
- Inventário
- PoS
- Project
- MRP
Esta pergunta foi sinalizada
1
Responder
1896
Visualizações
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.
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
2
nov. 24
|
1773 | ||
|
1
nov. 24
|
2358 | ||
|
5
nov. 23
|
3156 | ||
|
1
out. 23
|
2997 | ||
|
3
dez. 23
|
20896 |