Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
4065 Переглядів

Hi,


I'm getting this error while trying to import employees contracts in Employee module :

insert or update on table "hr_employee" violates foreign key constraint "hr_employee_resource_id_fkey" DETAIL: Key (resource_id)=(2583) is not present in table "resource_resource".

I double checked all the columns the are exactly the same I exported before


Thank you

Аватар
Відмінити
Найкраща відповідь

Check if you have deleted an employee after exporting the list containing employees external ids

Аватар
Відмінити
Найкраща відповідь

Add Resource Column to the imported table, and checked the option "create if not existed" while importing. it wasn't the resource record duplicated, actually the record doesn't exist and that's the problem.

Trying to import xls file to create employees. | Odoo


Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
груд. 22
1621
2
лист. 22
3532
2
бер. 23
8014
2
груд. 22
4067
1
лист. 23
2443