I got this error when importing excel file in hr.employee.
ERROR: insert or update on table "hr_employee" violates foreign key constraint "hr_employee_resource_id_fkey"
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I got this error when importing excel file in hr.employee.
ERROR: insert or update on table "hr_employee" violates foreign key constraint "hr_employee_resource_id_fkey"
you can avoid resource_id or assign resource import first then pass excel with resource id
how can i avoid it ?
how can i avoid resource id in my excel file ?
Hi
In this case, occur based on the resource id. because once the user_id is added to the database and we tried to import the employee details with the record you will get this type of error. so there is possible solution is that you need to try to import the employee details without resouce_id and the given contract id, after importing you can add the contract details separately
Hope it works
Hi Aurel,
I think this video can help you: https://www.youtube.com/watch?v=VMJ0UI1crz4&list=PLSKcWRTtEl5qzvRaI-VTGavfReiHS_EEb&index=3
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
1
lug 23
|
2070 | ||
Import button is missing
Risolto
|
|
1
apr 23
|
7389 | |
|
2
ott 22
|
2228 | ||
import in odoo 14
Risolto
|
|
1
giu 21
|
2483 | |
|
1
ago 24
|
1449 |
Did you find a solution? I am having the same issue.
need to add to your column the working schedule of the employee
check if there is any data for this employee that is the same as another employee such as attendance user ID