コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
4047 ビュー

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


アバター
破棄
関連投稿 返信 ビュー 活動
0
12月 22
1618
2
11月 22
3523
2
3月 23
8006
2
12月 22
4058
1
11月 23
2431